GetTransformedVector
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 4: | Line 4: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Object]] |
Revision as of 18:27, 4 February 2014
Returns the transformed vector according to the object's current matrix :
mainly used to transform a local coordinate vector in global coordinate
vec = getTransformedVector(object, vec3(x, y, z))