Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Dumb question about PositionAbs

bracer
Registered User
Quote
2018-02-03 09:19:47

Sorry, I am too lazy to open up Coppercube to test for now.
So this function basically just remove the negative sign in front of the x,y,z right ?

Like 82,-762,-91
becomes
82,762,91
right ?


niko
Moderator
Quote
2018-02-04 06:57:57

Hm, not sure what you mean exactly? The function math.abs() does that, yes!


Ishmaru
Guest
Quote
2018-02-04 22:47:39

"PositionAbs" refers to a nodes absolute position within the scene, while "Position" refers to the position of a node relative to it's parent node.


Ishmaru
Guest
Quote
2018-02-04 22:52:37

Also PositionAbs is not a method rather a new type you can get/set when using ccbGetSceneNodeProperty()


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

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