GetRotation

From MaratisWiki
Revision as of 01:18, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

getRotation(object)

Get the current object rotation in 3d space.

  • object : object to operate on
  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