Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge_types/bge.types.KX_CharacterWrapper.rst
| Show All 31 Lines | .. attribute:: jumpCount | ||||
| The current jump count. This can be used to have different logic for a single jump versus a double jump. For example, a different animation for the second jump. | The current jump count. This can be used to have different logic for a single jump versus a double jump. For example, a different animation for the second jump. | ||||
| :type: int | :type: int | ||||
| .. attribute:: walkDirection | .. attribute:: walkDirection | ||||
| The speed and direction the character is traveling in using world coordinates. This should be used instead of applyMovement() to properly move the character. | The speed and direction the character is traveling in using world coordinates. This should be used instead of applyMovement() to properly move the character. | ||||
| :type: list [x, y, z] | :type: Vector((x, y, z)) | ||||
| .. method:: jump() | .. method:: jump() | ||||
| The character jumps based on it's jump speed. | The character jumps based on it's jump speed. | ||||