GetTransformedPosition
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
| Line 1: | Line 1: | ||
| − | + | {{lua-function|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). | |
| + | |||
| + | pos = getTransformedPosition(object) | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
[[Category:Lua function]] | [[Category:Lua function]] | ||
[[Category:Transformation]] | [[Category:Transformation]] | ||
Revision as of 17:46, 8 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).
pos = getTransformedPosition(object)