GetInverseRotatedVector

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns the inverse rotated vector according to the object current matrix : vec = getInverseRotatedVector(object, vec3(x, y, z))")
 
m
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
Returns the inverse rotated vector according to the object current matrix :
+
{{lua-function|getInverseRotatedVector|object, vector}}
 +
 
 +
Returns the inverse rotated vector according to the object current matrix.
 +
 
 +
{{lua-function-param|object|object to operate on}}
 +
{{lua-function-param|vector|vector}}
  
 
  vec = getInverseRotatedVector(object, vec3(x, y, z))
 
  vec = getInverseRotatedVector(object, vec3(x, y, z))
 +
 +
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Transformation]]

Latest revision as of 01:20, 9 February 2014

getInverseRotatedVector(object, vector)

Returns the inverse rotated vector according to the object current matrix.

  • object : object to operate on
  • vector : vector
vec = getInverseRotatedVector(object, vec3(x, y, z))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox