GetInverseVector
(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 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))