Blender Git Commit Log

Git Commits -> Revision f840bd4

Revision f840bd4 by Mitchell Stokes (master)
November 4, 2012, 20:56 (GMT)
BGE: This patch adds a character wrapper (similar to the already implemented vehicle wrapper) to control character physics options. Currently supported options are:
* jump() -- causes the character to jump
* onGround -- specifies whether or not the character is on the ground
* gravity -- controls the "gravity" that the character physics uses for the character

More options could be added (such as jump speed, step height, make fall speed, max slope, etc).

Commit Details:

Full Hash: f840bd4a9f89815ca213d8398c99865fc6d64e4c
SVN Revision: 51873
Parent Commit: cc77001
Lines Changed: +278, -0

3 Added Paths:

/source/gameengine/Ketsji/KX_CharacterWrapper.cpp (+94, -0) (View)
/source/gameengine/Ketsji/KX_CharacterWrapper.h (+35, -0) (View)
/source/gameengine/Physics/common/PHY_ICharacter.h (+30, -0) (View)

10 Modified Paths:

/doc/python_api/rst/bge.constraints.rst (+8, -0) (Diff)
/doc/python_api/rst/bge.types.rst (+20, -0) (Diff)
/source/gameengine/Ketsji/CMakeLists.txt (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+34, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+40, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h (+2, -0) (Diff)
/source/gameengine/Physics/common/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h (+4, -0) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021