BGE: This patch adds a character wrapper (similar to the already implemented vehicle...
[blender.git] / doc / python_api / rst / bge.constraints.rst
index 83f2a6b4950febcaaf36fa80279302e7f1140dec..7757e11d41f386851218f063bc05d18b402155fe 100644 (file)
@@ -78,6 +78,14 @@ Physics Constraints (bge.constraints)
 
    :return: a vehicle constraint object.
    :rtype: :class:`bge.types.KX_VehicleWrapper`
+   
+.. function:: getCharacter(gameobj)
+
+   :arg gameobj: The game object with the character physics.
+   :type gameobj: :class:`bge.types.KX_GameObject`
+
+   :return: character wrapper
+   :rtype: :class:`bge.types.KX_CharacterWrapper`
 
 .. function:: removeConstraint(constraintId)