diff options
author | HG1 <HG1_public@gmx.net> | 2014-07-29 07:20:59 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-07-29 07:22:13 +0400 |
commit | 8f947ff34ab930c809e4af5673b23302bcce8190 (patch) | |
tree | 6742273579673941f509ba83f6119eeb86d34c42 /doc | |
parent | a21a9ddbce1dd28c09843eb1f3b52d227443fc64 (diff) |
BGE: Constraint wrapper fix.
1. This patch fix the KX_ConstraintWrapper documentation (radian instead of degrees).
2. It also adds the missing GENERIC_6DOF_CONSTRAINT constant.
Reviewers: dfelinto
Reviewed By: dfelinto
Differential Revision: https://developer.blender.org/D672
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_ConstraintWrapper.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_ConstraintWrapper.rst b/doc/python_api/rst/bge_types/bge.types.KX_ConstraintWrapper.rst index f513f50ec9c..53bef120f7a 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_ConstraintWrapper.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_ConstraintWrapper.rst @@ -56,7 +56,7 @@ base class --- :class:`PyObjectPlus` * 1: Y axis position * 2: Z axis position - axis = 3..5 are relative constraint (Euler) angles in degrees + axis = 3..5 are relative constraint (Euler) angles in radians * 3: X axis angle * 4: Y axis angle * 5: Z axis angle @@ -86,7 +86,7 @@ base class --- :class:`PyObjectPlus` * 13: Y axis position * 14: Z axis position - axis = 15..17 are for angular springs on each of the degrees of freedom + axis = 15..17 are for angular springs on each of the angle of freedom in radians * 15: X axis angle * 16: Y axis angle * 17: Z axis angle @@ -113,7 +113,7 @@ base class --- :class:`PyObjectPlus` :return: position :rtype: float - axis = 3..5 are relative constraint (Euler) angles in degrees + axis = 3..5 are relative constraint (Euler) angles in radians * 3: X axis angle * 4: Y axis angle * 5: Z axis angle |