blender/source/gameengine/Ketsji
Benoit Bolsee dfc19a1ff7 BGE patch #28476: Character object physics type
===============================================
This patch adds a new "Character" BGE physics type which uses Bullet's btKinematicCharacter for simulation instead of full-blown dynamics. It is appropiate for (player-controlled) characters, for which the other physics types often result unexpected results (bouncing off walls, sliding etc.) and for which simple kinematics offers much more precision.

"Character" can be chosen like any other physics type in the "Physics" section of the properties window. Current settings for tweaking are "Step Height" (to make the object automatically climb small steps if it collides with them), "Fall Speed" (the maximum speed that the object can have when falling) and "Jump Speed", which is currently not used.

See http://projects.blender.org/tracker/?func=detail&atid=127&aid=28476&group_id=9
for sample blends and a discussion on the patch: how to use it and what influences the behavior of the character object.

Known problem: there is a crash if the "compound" option is set in the physics panel of the Character object.
2012-05-28 21:36:29 +00:00
..
KXNetwork Spelling Cleanup 2012-03-01 12:20:18 +00:00
BL_Action.cpp Fix for [#31276] Action Actuator, Priorities higher than 1 break Playback: 2012-05-23 04:01:05 +00:00
BL_Action.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_ActionManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
BL_ActionManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_BlenderShader.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
BL_BlenderShader.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
BL_Material.cpp fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
BL_Material.h fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
BL_Shader.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_Shader.h style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
BL_Texture.cpp style cleanup 2012-03-28 05:03:24 +00:00
BL_Texture.h doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji 2011-02-22 10:33:14 +00:00
CMakeLists.txt Fix for windows compile. 2012-04-28 22:59:55 +00:00
KX_ArmatureSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ArmatureSensor.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_BlenderMaterial.cpp fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
KX_BlenderMaterial.h style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
KX_BulletPhysicsController.cpp BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_BulletPhysicsController.h BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_Camera.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_Camera.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_CameraActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_CameraActuator.h style cleanup - spelling corrections & update some incorrect comments. 2012-03-03 11:45:08 +00:00
KX_CameraIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_CameraIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ClientObjectInfo.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConstraintActuator.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ConstraintActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ConstraintWrapper.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ConstraintWrapper.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_ConvertPhysicsObject.h BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_ConvertPhysicsObjects.cpp BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_Dome.cpp spherical panoramic fix 2012-04-05 22:06:45 +00:00
KX_Dome.h code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]') 2012-04-12 00:15:02 +00:00
KX_EmptyObject.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_EmptyObject.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_FontObject.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_FontObject.h style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
KX_GameActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_GameActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_GameObject.cpp revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too 2012-04-24 16:14:23 +00:00
KX_GameObject.h bmesh py api: more comprehensive intro page, also fix some spelling errors. 2012-03-13 06:22:43 +00:00
KX_IInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IPhysicsController.cpp BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_IPhysicsController.h BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_IPO_SGController.cpp revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too 2012-04-24 16:14:23 +00:00
KX_IPO_SGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IpoActuator.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_IpoActuator.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_IPOTransform.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_IScalarInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ISceneConverter.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ISystem.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_KetsjiEngine.cpp Fix for [#31367] render.drawLine not 2D filter aware: 2012-05-21 18:35:31 +00:00
KX_KetsjiEngine.h spelling cleanup 2012-03-18 07:38:51 +00:00
KX_Light.cpp Merging phase 1 of the BGE Harmony branch: 2012-05-01 02:50:17 +00:00
KX_Light.h Merging phase 1 of the BGE Harmony branch: 2012-05-01 02:50:17 +00:00
KX_LightIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_LightIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_MaterialIpoController.cpp doxygen: gameengine/Ketsji tagged. 2011-02-25 13:35:59 +00:00
KX_MaterialIpoController.h doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji 2011-02-22 10:33:14 +00:00
KX_MeshProxy.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_MeshProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_MotionState.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_MotionState.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_MouseFocusSensor.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_MouseFocusSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_NavMeshObject.cpp Fix #30720: Creating Navmesh crashes blender 2012-04-16 13:53:30 +00:00
KX_NavMeshObject.h style cleanup - remove unneeded ';'s 2012-03-08 03:05:57 +00:00
KX_NearSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_NearSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_ObColorIpoSGController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_ObColorIpoSGController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ObjectActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_ObjectActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ObstacleSimulation.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_ObstacleSimulation.h style cleanup 2012-04-21 13:37:26 +00:00
KX_OrientationInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_OrientationInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ParentActuator.cpp remove header text: 2011-11-29 10:54:47 +00:00
KX_ParentActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PhysicsEngineEnums.h code cleanup: remove unused defines 2012-04-23 08:05:02 +00:00
KX_PhysicsObjectWrapper.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_PhysicsObjectWrapper.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PhysicsPropertiesobsolete.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PolygonMaterial.cpp fix [#31045] 2012-04-21 15:56:50 +00:00
KX_PolygonMaterial.h fix [#31045] 2012-04-21 15:56:50 +00:00
KX_PolyProxy.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PolyProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_PositionInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_PositionInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PyConstraintBinding.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PyConstraintBinding.h Code Cleanup: remove non existing function declarations. 2012-02-29 15:00:37 +00:00
KX_PyMath.cpp quiet some warnings for gcc 4.7 2012-03-26 20:49:33 +00:00
KX_PyMath.h style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
KX_PythonInit.cpp patch [#31507] site not automatically imported when using external python package 2012-05-18 10:19:49 +00:00
KX_PythonInit.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_PythonInitTypes.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_PythonInitTypes.h remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_PythonSeq.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_PythonSeq.h style cleanup: guys - set your editors to tabs! 2012-05-01 17:51:03 +00:00
KX_RadarSensor.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RadarSensor.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_RayCast.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_RayCast.h remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RayEventManager.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_RayEventManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_RaySensor.cpp style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_RaySensor.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_AddObjectActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_AddObjectActuator.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_SCA_DynamicActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_DynamicActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_EndObjectActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_EndObjectActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SCA_ReplaceMeshActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_SCA_ReplaceMeshActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ScalarInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalarInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_ScalingInterpolator.cpp style cleanup, use { on newline after function definition. 2012-02-25 16:49:59 +00:00
KX_ScalingInterpolator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_Scene.cpp BGE patch #28476: Character object physics type 2012-05-28 21:36:29 +00:00
KX_Scene.h style cleanup: comment blocks 2012-03-09 18:28:30 +00:00
KX_SceneActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_SceneActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SG_BoneParentNodeRelationship.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_SG_BoneParentNodeRelationship.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SG_NodeRelationships.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_SG_NodeRelationships.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SoundActuator.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_SoundActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_StateActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_StateActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_SteeringActuator.cpp Fix for bug #30219: "Obstacle Simulation of Steering Actuator does not work with added objects" 2012-04-22 02:16:33 +00:00
KX_SteeringActuator.h Missed this file in my last commit. 2012-04-22 04:01:14 +00:00
KX_TimeCategoryLogger.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_TimeCategoryLogger.h style cleanup 2012-03-02 16:05:54 +00:00
KX_TimeLogger.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
KX_TimeLogger.h style cleanup 2012-03-02 16:05:54 +00:00
KX_TouchEventManager.cpp style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
KX_TouchEventManager.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_TouchSensor.cpp use defines for property name lenghths in the BGE, were using 31,32,64,100. 2012-01-16 05:27:11 +00:00
KX_TouchSensor.h style cleanup: spelling. 2012-03-09 00:41:09 +00:00
KX_TrackToActuator.cpp style cleanup 2012-03-28 05:03:24 +00:00
KX_TrackToActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_VehicleWrapper.cpp doxygen: gameengine/Ketsji tagged. 2011-02-25 13:35:59 +00:00
KX_VehicleWrapper.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_VertexProxy.cpp style cleanup: whitespace, braces 2012-05-01 20:08:23 +00:00
KX_VertexProxy.h style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
KX_VisibilityActuator.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_VisibilityActuator.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_WorldInfo.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_WorldInfo.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
KX_WorldIpoController.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
KX_WorldIpoController.h use __ prefix on header guards to avoid mixing up defines with api functions / classes. 2012-02-23 10:41:31 +00:00
SConscript Fix for windows compile. 2012-04-28 22:59:55 +00:00