Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2012-11-22 12:16:30 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-11-22 12:16:30 +0400
commitd9f6edff149f9b6d534462efb4aa908d5f63876a (patch)
tree438e38cfad099d6ad6793d335a8c0d6c88e10899 /doc/python_api/rst/bge.logic.rst
parent8dd96bcefb710e567f3efbac7d5718a3193374a1 (diff)
BGE Docs: Moving the BL_ArmatureChannel.rotation_mode constant docs from bge.types.rst to bge.logic.rst where the rest of the constants docs are.
Diffstat (limited to 'doc/python_api/rst/bge.logic.rst')
-rw-r--r--doc/python_api/rst/bge.logic.rst53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst
index 8cf2561be58..b076570ab7d 100644
--- a/doc/python_api/rst/bge.logic.rst
+++ b/doc/python_api/rst/bge.logic.rst
@@ -993,6 +993,59 @@ Blender Material
.. data:: BL_ZERO
----------------
+Armature Channel
+----------------
+.. _armaturechannel-constants-rotation-mode:
+
+ See :class:`bge.types.BL_ArmatureChannel.rotation_mode`
+
+ .. note:
+ euler mode are named as in Blender UI but the actual axis order is reversed
+
+ .. data:: ROT_QUAT
+
+ Use quaternion in rotation attribute to update bone rotation.
+
+ :value: 0
+
+ .. data:: ROT_XYZ
+
+ Use euler_rotation and apply angles on bone's Z, Y, X axis successively.
+
+ :value: 1
+
+ .. data:: ROT_XZY
+
+ Use euler_rotation and apply angles on bone's Y, Z, X axis successively.
+
+ :value: 2
+
+ .. data:: ROT_YXZ
+
+ Use euler_rotation and apply angles on bone's Z, X, Y axis successively.
+
+ :value: 3
+
+ .. data:: ROT_YZX
+
+ Use euler_rotation and apply angles on bone's X, Z, Y axis successively.
+
+ :value: 4
+
+ .. data:: ROT_ZXY
+
+ Use euler_rotation and apply angles on bone's Y, X, Z axis successively.
+
+ :value: 5
+
+ .. data:: ROT_ZYX
+
+ Use euler_rotation and apply angles on bone's X, Y, Z axis successively.
+
+ :value: 6
+
+
+----------------
Armature Constraint
----------------
.. _armatureconstraint-constants-type: