aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-06-11 18:35:46 +0200
committervictorfisac <victorfisac@gmail.com>2016-06-11 18:35:46 +0200
commitc10c49e44f31ddac4b544ddf8c973774afd288c6 (patch)
tree655d4033ecb60fe21e6186974beb6d4b00fadda5 /examples
parent1a60f376a4ebe4d0053a6ea308ee2b399d8c345d (diff)
downloadraylib-c10c49e44f31ddac4b544ddf8c973774afd288c6.tar.gz
raylib-c10c49e44f31ddac4b544ddf8c973774afd288c6.zip
Convert physac module from static steps to fixed time steps
Old physics update system used a static number of steps to calculate physics (450 for desktop and 64 for android). It was too much and it was limited by target frame time... Now physics update runs in a secondary thread using a fixed delta time value to update steps. Collisions are perfectly detected and resolved and performance has been improved so much.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions