Blender Git Commit Log

Git Commits -> Revision adba575

June 29, 2015, 13:46 (GMT)
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.


Reviewed by: panzergame

Differential Revision:

Commit Details:

Full Hash: adba5756050b37d4193f16aee35cdc001d2a4adf
Parent Commit: a08f1d0
Committed By: Sergey Sharybin
Lines Changed: +51, -13

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020