Original Post
Hello
I am coding a "simple" pool sim and it works fine, but I cant figure out how can I syncronize my physics movement with my frame time, I mean, to integrate all my physics objects I use a STEP_TIME of 0.001f to get a accuarate simulation. But my trouble is that all my objects are moving at FIXED STEP_TIME(used to integrate)and not synced with FRAME_TIME.
By the other hand I cant use a different STEP_TIME to integrate because it could hurt my sim.
Please I appreciate any help about this.
PS: STEP_TIME = time used to integrate in my physics engine.
FRAME_TIME = time taked since last frame.
Regards,
Oscar