Jul 5, 2010 at 12:05 AM
Edited Jul 12, 2010 at 1:02 AM
I have created a demo that runs Farseer 3.0 on a separate thread. This allows the game to run in a variable time-step mode while the physics runs at a fixed time-step mode.
Here is the link to the demo - Sorry no more source code.
Please try it out and let me know what you think. I have an iCore7 2.8GHz so I need around 1000 bodies to get a good load on the CPU (23% lol)
Press space to switch between normal single threaded design and the separate thread design. Use the mouse to drag the bodies around.
I haven't tested this on the Xbox yet, but if anyone has time to try it out on the Xbox please let me know how it runs. And please post back with as much detail as you can.
I'm gonna try to add interpolation between frames and then the difference should be hugely noticeable.