GetInverseVector
(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 inverse vector according to the object current matrix :
mainly used to transform a global coordinate vector in the object's local coordinates
vec = getInverseVector(object, vec3(x, y, z))