GetRotatedVector

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 
[[Category:Lua function]]
 
[[Category:Lua function]]
[[Category:Object]]
+
[[Category:Transformation]]

Revision as of 15:31, 5 February 2014

Returns the rotated vector according to the object current matrix :

vec = getRotatedVector(object, vec3(x, y, z))

Example :

vec = getRotatedVector(object, vec3(1, 0, 0)) -- returns the rotated x axis of the object
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox