GetTransformedVector
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 5: | Line 5: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
[[Category:Lua function]] | [[Category:Lua function]] | ||
− | [[Category: | + | [[Category:Transformation]] |
Revision as of 14:32, 5 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))