Merged changes in the trunk up to revision 51985.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -3464,6 +3464,26 @@ Types
|
||||
:arg wheelIndex: the wheel index
|
||||
:type wheelIndex: integer
|
||||
|
||||
.. class:: KX_CharacterWrapper(PyObjectPlus)
|
||||
|
||||
A wrapper to expose character physics options.
|
||||
|
||||
.. attribute:: onGround
|
||||
|
||||
Whether or not the character is on the ground. (read-only)
|
||||
|
||||
:type: boolean
|
||||
|
||||
.. attribute:: gravity
|
||||
|
||||
The gravity value used for the character.
|
||||
|
||||
:type: float
|
||||
|
||||
.. method:: jump()
|
||||
|
||||
The character jumps based on it's jump speed.
|
||||
|
||||
.. class:: KX_VertexProxy(SCA_IObject)
|
||||
|
||||
A vertex holds position, UV, color and normal information.
|
||||
|
||||
Reference in New Issue
Block a user