Bug: centerOfMassOffset translates object's centerPosition

Discuss any questions about BEPUphysics or problems encountered.
bryanedds
Posts: 14
Joined: Tue Jul 13, 2010 6:17 pm

Re: Bug: centerOfMassOffset translates object's centerPosition

Post by bryanedds »

I turned off internal time stepping and it now works.

Ya, the internal time stepping stuff was unclear. But only because I thought you were talking about XNA's Game.IsFixedTimeStep property all along :) Didn't even know there was a useInternalTimeStep property for BEPU :)

cheers!
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Bug: centerOfMassOffset translates object's centerPosition

Post by Norbo »

Ah :)

For anyone who reads this thread later and gets confused, there is indeed a setting:
space.simulationSettings.timeStep.useInternalTimeStepping
which, when enabled, will cause BEPUphysics to automatically update multiple times if necessary to catch up to the current gametime, and also adds in a interpolation smoothing component to buffered properties. More information can be found in the asynchronous update documentation:
http://www.bepu-games.com/BEPUphysics/d ... tation.pdf
Post Reply