Speeding Up Physics

Go down

Speeding Up Physics

Post  matthew on Sun Jan 25, 2009 8:40 pm

I'd like to reproduce a realistic bounce using the awesome Bullet physic engine & SIO2. Unfortunately I'm seeing what looks most like a slow motion bounce on the moon. Wink

To get things looking better I has to tweak the paramers that render the sio2 physics as follows. My question is there a better what to speed up the rendering when the physics is accurate....?

// render the simulation physics.
float ballPhysicsTimeStep = kBallSpeed * (1.0f / sio2->_SIO2window->fps);
sio2PhysicRender( sio2->_SIO2physic, ballPhysicsTimeStep, 0 );



Posts : 64
Join date : 2008-11-12

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum