GetTransformedPosition

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
Returns the transformed position (global coordinates) of the object according to it's current matrix : <br>(useful if the object is linked to other objects)
+
{{lua-function|getTransformedPosition|object}}
  
pos = 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).
 +
 
 +
{{lua-function-param|object|object to operate on}}
 +
 
 +
  pos = getTransformedPosition(object)
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Transformation]]

Latest revision as of 01: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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox