btActionInterface

jrk
Posts: 17
Joined: Tue Aug 18, 2009 2:48 pm

btActionInterface

Post by jrk »

I've been trying to make my own raycast vehicle but I can't do the forces the way I want and make the vehicle stable because I'm only having my updateAction method called with 0.0167 second time steps.

I thought I was telling the integrator to run much faster ( around 1000 Hz ) because I make this call:
m_phyWorld->stepSimulation(evt.timeSinceLastFrame, 1);

where:
evt.timeSinceLastFrame ~ = 0.001

Is the integrator only running at 60 Hz? or is updateAcdtion only being called once every ~16 time steps?

Shouldn't the whole thing be more stable with a smaller time step and if I have the speed why not make smaller steps?

Thanks,