Skip to content
Snippets Groups Projects
Commit 29baa502 authored by Stephen Swaney's avatar Stephen Swaney
Browse files

add info about units for rotation IPOs and Object Euler angles.

parent e418052d
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,10 @@ class IpoCurve: ...@@ -177,6 +177,10 @@ class IpoCurve:
The IpoCurve object The IpoCurve object
=================== ===================
This object gives access to generic data from all ipocurves objects in Blender. This object gives access to generic data from all ipocurves objects in Blender.
Important Notes for Rotation Curves:\n
For the rotation IpoCurves, the y values for points are in units of 10 degrees. example: 45.0 degrees is stored as 4.50 degrees. These are the same numbers you see in the Transform Properties pupmenu ( NKey ) in the IPO Curve Editor window. Positive rotations are in a counter-clockwise direction, just like in math class.
@cvar name: The Curve Data name. @cvar name: The Curve Data name.
@cvar bezierPoints : The list of the Bezier points. @cvar bezierPoints : The list of the Bezier points.
""" """
......
...@@ -213,8 +213,8 @@ class Object: ...@@ -213,8 +213,8 @@ class Object:
def getEuler(): def getEuler():
""" """
Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ). Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ). Angles are in radians.
@rtype: A vector triple @rtype: A vector triple of floats
@return: (rotX, rotY, rotZ) @return: (rotX, rotY, rotZ)
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment