GetTransformedPosition
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
Returns the transformed position (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects). | Returns the transformed position (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}} | ||
pos = getTransformedPosition(object) | pos = getTransformedPosition(object) |
Latest revision as of 00:19, 9 February 2014
getTransformedPosition(object)
Returns the transformed position (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
pos = getTransformedPosition(object)