From f840bd4a9f89815ca213d8398c99865fc6d64e4c Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 4 Nov 2012 20:56:02 +0000 Subject: 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). --- source/gameengine/Ketsji/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/gameengine/Ketsji/CMakeLists.txt') diff --git a/source/gameengine/Ketsji/CMakeLists.txt b/source/gameengine/Ketsji/CMakeLists.txt index b42c2c27075..4778a6ef9b9 100644 --- a/source/gameengine/Ketsji/CMakeLists.txt +++ b/source/gameengine/Ketsji/CMakeLists.txt @@ -74,6 +74,7 @@ set(SRC KX_Camera.cpp KX_CameraActuator.cpp KX_CameraIpoSGController.cpp + KX_CharacterWrapper.cpp KX_ConstraintActuator.cpp KX_ConstraintWrapper.cpp KX_ConvertPhysicsObjects.cpp @@ -149,6 +150,7 @@ set(SRC KX_Camera.h KX_CameraActuator.h KX_CameraIpoSGController.h + KX_CharacterWrapper.h KX_ClientObjectInfo.h KX_ConstraintActuator.h KX_ConstraintWrapper.h -- cgit v1.2.3