Fix physac's fixed time step

This commit is contained in:
Pablo Marcos Oltra 2018-09-23 13:55:39 +02:00
parent 589152b658
commit 35634f37c8
2 changed files with 37 additions and 37 deletions

View file

@ -51,6 +51,9 @@ int main()
circleC->restitution = 1;
SetTargetFPS(60);
// Restitution demo needs a very tiny physics time step for a proper simulation
SetPhysicsTimeStep(1.0/60.0/100 * 1000);
//--------------------------------------------------------------------------------------
// Main game loop