GetRotation

From MaratisWiki
Revision as of 14:01, 6 January 2013 by SadWolf (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get the current object rotation in 3d space.

objectRot = getRotation(object)

Then you can use your object coordinates like this :

objectpos[1] : rotation on X axis

objectpos[2] : rotation on Y axis

objectpos[3] : rotation on Z axis

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox