GetRotation

(Difference between revisions)
Jump to: navigation, search
(Created page with "Get the current object rotation in 3d space. objectRot = getRotation(object) Then you can use your object coordinates like this : objectpos[1] : rotation on X axis objectp...")
 
Line 10: Line 10:
  
 
objectpos[3] : rotation on Z axis
 
objectpos[3] : rotation on Z axis
 +
 +
[[Category:Lua scripting]]

Revision as of 19:00, 4 February 2014

Get the current object rotation in 3d space.

objectRot = getRotation(object)

Then you can use your object coordinates like this :

objectpos[1] : rotation on X axis

objectpos[2] : rotation on Y axis

objectpos[3] : rotation on Z axis

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox