Frame independent Chipmunk Physic Egine
BlitzMax Forums/Brucey's Modules/Frame independent Chipmunk Physic Egine
| ||
I wrote a space shooter game with Chipmunk Physics Engine It Works well, but I want to write this for multiplayer mode. Knows anybody a way to write this frame independent (I don't know if this is the right word) Sorry for the bad english I think the probleme is in this funtion Function update(ticks:Int) Local steps:Int = 1 Local dt:Float = 1.0 / 60 / steps For Local i:Int = 0 Until steps space.DoStep(dt) Next End Function |