≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Problems with dash ability
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hey, I tried to look both in your and mine codes and... Well, I found that you've tried to make h0 variable to be recieved every frame, which, I might be wrong, is kinda... Not like it should be that way. I mean, to create this I used the next formula: [img]https://i.postimg.cc/qqyPM360/image.png[/img] Where the h0 is a stating position, so, it probably shouldn't be changed (but still, I might be wrong). Also, I SOMEHOW managed to find... A bit different way to avoid that. I made this: [code]var Pos = ccbGetSceneNodeProperty(this.Plr, "Position"); var OldPos = ccbGetSceneNodeProperty(this.Plr, "Position");[/code] After that, the position calculates, and then: [code]var Target = ccbGetSceneNodeProperty(this.Plr, "Target"); Target.x += Pos.x - OldPos.x; Target.y += Pos.y - OldPos.y; Target.z += Pos.z - OldPos.z;[/code] I still don't really understand why using formulas the result wasn't what it supposed to be. That's just weird. Anyway, I still appreciate you for your help and patience, [b]sven[/b].[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact