GetInverseRotatedVector
(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:31, 5 February 2014
Returns the inverse rotated vector according to the object current matrix :
vec = getInverseRotatedVector(object, vec3(x, y, z))