How can I get correct results when fixedTimeStep is 1/275?

Peter_jones
Posts: 3
Joined: Tue Jul 12, 2011 10:55 am

How can I get correct results when fixedTimeStep is 1/275?

Post by Peter_jones »

Hi,

I tried to change the fixedTimeStep to obtain more exact reulsts in Bullet. However
when the fixedTimeStep is smaller than roughly 1/200, the results are wrong. For example:
dynamicsWorld->stepSimulation(1 / 1000.f, 900, btScalar(1)/btScalar(275));

I think the above setting satisfies timeStep < maxSubSteps * fixedTimeStep

when fixedTimeStep is bigger than 1/200, such as 1/60, 1/120, the results are correct.

How can I get correct results when the fixedTimeStep is btScalar(1)/btScalar(275)?

Thank in advance
youcancallmeAl
Posts: 5
Joined: Thu Jul 21, 2011 5:18 pm

Re: How can I get correct results when fixedTimeStep is 1/27

Post by youcancallmeAl »

Can you be more specific when you say that your results are wrong for small timesteps? I'm experiencing similar problems specifically regarding object restitution. Are your issues related to that as well, or is there some other inaccuracy you've encountered?