blender/source/gameengine
Sybren A. Stüvel adba575605 BGE Fix: apply velocity clamping on every physics subtick
This patch uses the Bullet "internal tick callback" functionality to
ensure that velocity clamping is performed after every physics update.
This makes a difference when physics subticks > 1, as in that case the
too-high velocity could have impacted the simulation.

This patch follows the examples at [1] and [2]; the latter example
also explains that the way we limit velocity in the BGE (before this
patch) is wrong.

[1] http://bulletphysics.org/mediawiki-1.5.8/index.php/Simulation_Tick_Callbacks
[2] http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Code_Snippets#I_want_to_cap_the_speed_of_my_spaceship;

Reviewed by: panzergame

Differential Revision: https://developer.blender.org/D1364
2015-06-29 15:46:34 +02:00
..
BlenderRoutines BGE: New API method getDisplayDimensions 2015-04-07 18:32:25 +02:00
Converter BGE Cleanup: remove dead code for collide, visible and twoside variables 2015-06-05 02:24:23 +02:00
Expressions BGE: dissallow calling reverse on internal clists 2015-06-29 15:46:30 +02:00
GameLogic BGE Cleanup: Identical code for both if/else branches 2015-05-30 18:15:11 +02:00
GamePlayer BGE : Fix black material on meshes without materials in blenderplayer. 2015-05-24 11:46:57 +02:00
Ketsji BGE: correct case for createConstraint keyword 2015-06-18 17:24:17 +02:00
Network mathutils: refactor instantiation 2015-01-04 17:43:57 +11:00
Physics BGE Fix: apply velocity clamping on every physics subtick 2015-06-29 15:46:34 +02:00
Rasterizer BGE: Fix T43761 No re-creation of display list after a mesh modification. 2015-05-17 12:53:57 +02:00
SceneGraph Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
VideoTexture BGE: Fix T43822 Videotexture does not use sky color for off-screen 2015-05-10 00:56:51 +02:00
CMakeLists.txt CMake: Enable strict flags for C++ 2015-03-27 18:23:31 +05:00
SConscript