GetTransformedRotation
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | Returns the transformed rotation (global coordinates) of the object according to it's current matrix | + | {{lua-function|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). | ||
| + | |||
| + | {{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)