I am using the java port of Box2D (JBox2D) and have encountered a weird issue.
Initialization (From the tutorial):
Main loop:
Result:
Velocity caps at 120.
If i use time delta as 1/30f, i get velocity capped at 60.
Similarly, 1f, velocity capped at 2.
Is this my implementation, or is this an intentional simulation of terminal velocity?
Shouldn't velocity increase infinitely?
Initialization (From the tutorial):
Code:
1. Instantiate world.
2. Create and add body using world
2. Create and add body using world
Main loop:
Code:
world.step(1/60f, 10, 10);
Result:
Velocity caps at 120.
If i use time delta as 1/30f, i get velocity capped at 60.
Similarly, 1f, velocity capped at 2.
Is this my implementation, or is this an intentional simulation of terminal velocity?
Shouldn't velocity increase infinitely?