How to control the game fps?
3 posters
How to control the game fps?
In my games,As long as an object collisions, the game's fps will drop.
Down to 15fps . (Originally 30fps),
fps is so low,This is normal?My big scene, but as long as no collision, there is 32fps.The number of scene faces 1000. Fps drop is not normal. Have any suggestions? thank you!
Down to 15fps . (Originally 30fps),
fps is so low,This is normal?My big scene, but as long as no collision, there is 32fps.The number of scene faces 1000. Fps drop is not normal. Have any suggestions? thank you!
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: How to control the game fps?
When your level start put all the activation state of your dynamic/rigid body objects to wants deactivation...
Re: How to control the game fps?
sio2interactive wrote:When your level start put all the activation state of your dynamic/rigid body objects to wants deactivation...
Use this?
Myobject->_SIO2objectphysic->_btRigidBody->setActivationState( WANTS_DEACTIVATION );
I tried,but No change.
Could you please give some specific methods?
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: How to control the game fps?
Do this:
Myobject->_SIO2objectphysic->_btRigidBody->setActivationState(ISLAND_SLEEPING);
Myobject->_SIO2objectphysic->_btRigidBody->setActivationState(ISLAND_SLEEPING);
Francescu- Posts : 136
Join date : 2009-03-18
Re: How to control the game fps?
OK! thank you very much!
I tried a few states, have not tried on this
I tried a few states, have not tried on this
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Similar topics
» Transformations not happening
» How do UIAlert control join the sio2window
» how to control a object which serve as a skeletal animation
» Game AI: Lua or IPO?
» number of moving physics objects
» How do UIAlert control join the sio2window
» how to control a object which serve as a skeletal animation
» Game AI: Lua or IPO?
» number of moving physics objects
Permissions in this forum:
You cannot reply to topics in this forum