mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Fix physac's fixed time step
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user