FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Speeding Up Physics

Go down

Speeding Up Physics Empty Speeding Up Physics

Post  matthew 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 );


Cheers!
Matthew

matthew

Posts : 64
Join date : 2008-11-12

Back to top Go down

Back to top

- Similar topics

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