GetTransformedRotation
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
Returns the transformed rotation (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects). | Returns the transformed rotation (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects). | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
rot = getTransformedRotation(object) | rot = getTransformedRotation(object) |
Latest revision as of 00:19, 9 February 2014
getTransformedRotation(object)
Returns the transformed rotation (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects).
-
object
: object to operate on
rot = getTransformedRotation(object)