Blender Git Loki
Git Commits -> Revision 13f49f3
Revision 13f49f3 by Mitchell Stokes (master) December 26, 2012, 01:25 (GMT) |
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. |
Commit Details:
Full Hash: 13f49f31017f40c137f16183780e1c706598ab2a
SVN Revision: 53324
Parent Commit: 2c38c32
Lines Changed: +110, -23
7 Modified Paths:
/doc/python_api/rst/bge.types.rst (+6, -0) (Diff)
/source/gameengine/Ketsji/KX_CharacterWrapper.cpp (+22, -0) (Diff)
/source/gameengine/Ketsji/KX_CharacterWrapper.h (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+42, -19) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+22, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+13, -3) (Diff)
/source/gameengine/Physics/common/PHY_ICharacter.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_CharacterWrapper.cpp (+22, -0) (Diff)
/source/gameengine/Ketsji/KX_CharacterWrapper.h (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+42, -19) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+22, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+13, -3) (Diff)
/source/gameengine/Physics/common/PHY_ICharacter.h (+3, -0) (Diff)