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:
Diffstat (limited to 'doc/python_api/rst/bge.constraints.rst')
-rw-r--r--doc/python_api/rst/bge.constraints.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/python_api/rst/bge.constraints.rst b/doc/python_api/rst/bge.constraints.rst
index 636a66273e8..cf8565924b0 100644
--- a/doc/python_api/rst/bge.constraints.rst
+++ b/doc/python_api/rst/bge.constraints.rst
@@ -22,16 +22,14 @@ Physics Constraints (bge.constraints)
:type physicsid2: int
:arg constrainttype: the type of the constraint. The constraint types are:
-
+ :type constrainttype: int
- :class:`POINTTOPOINT_CONSTRAINT`
- :class:`LINEHINGE_CONSTRAINT`
- :class:`ANGULAR_CONSTRAINT`
- :class:`CONETWIST_CONSTRAINT`
- :class:`VEHICLE_CONSTRAINT`
- :class:`GENERIC_6DOF_CONSTRAINT`
-
- :type constrainttype: int
-
+
:arg pivot_X: pivot X position
:type pivot_X: float (optional)
@@ -53,9 +51,12 @@ Physics Constraints (bge.constraints)
:arg flag: 128 to disable collision between linked bodies
:type flag: int (optional)
+ :return: a constraint wrapper.
+ :rtype: :class:`bge.types.KX_ConstraintWrapper`
+
.. attribute:: error
- Simbolic constant string that indicates error.
+ Symbolic constant string that indicates error.
.. function:: exportBulletFile(filename)