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
path: root/doc
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2012-12-26 05:25:53 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-12-26 05:25:53 +0400
commit13f49f31017f40c137f16183780e1c706598ab2a (patch)
treea0dad2a6de4649f86aa876c773018ec250d00d23 /doc
parent2c38c32661427b48e548f27f538a15ff2543b84a (diff)
BGE: Adding a maxJumps to the character controller to adjust how many jumps a character can perform before having to touch the ground. By default this is set to 1, which means a character can only jump once before having to touch the ground again. Setting this to 2 allows for double jumping.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge.types.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst
index 470e1c56bac..ae03debb4f8 100644
--- a/doc/python_api/rst/bge.types.rst
+++ b/doc/python_api/rst/bge.types.rst
@@ -3749,6 +3749,12 @@ Types
:type: float
+ .. attribute:: maxJumps
+
+ The maximum number of jumps a character can perform before having to touch the ground. By default this is set to 1. 2 allows for a double jump, etc.
+
+ :type: int
+
.. method:: jump()
The character jumps based on it's jump speed.