saladin
30-11-2007 04:52:04
Hi,
I'm using ogreNewt in my game and am currently implementing a replay system. And I noticed how if I only serialise the logic bit the physics world plays out a little bit different every time. Im wondering if there's a way to make the playback exactly the same every time without having to sample or 'bake' the position/orientation for the objects in my scene. There can be up to 32 characters/vehicles (each with multiple joints) in one level and up to 50 grenades/fireballs bouncing around. If I create a keyframe every few frames whenever something moves, the memory can run out pretty quickly.
I noticed how walaber used this kind of sampling in the stunt playground (WorldRecorder), is that because newton is impossible to be deterministic?
Any help will be appreciated.
Cheers.
I'm using ogreNewt in my game and am currently implementing a replay system. And I noticed how if I only serialise the logic bit the physics world plays out a little bit different every time. Im wondering if there's a way to make the playback exactly the same every time without having to sample or 'bake' the position/orientation for the objects in my scene. There can be up to 32 characters/vehicles (each with multiple joints) in one level and up to 50 grenades/fireballs bouncing around. If I create a keyframe every few frames whenever something moves, the memory can run out pretty quickly.
I noticed how walaber used this kind of sampling in the stunt playground (WorldRecorder), is that because newton is impossible to be deterministic?
Any help will be appreciated.
Cheers.