- Home /
Low framerate on physics initialization.
I have a relatively small scene (256x256) that has a lot of colliders and rigidbodies (200-300). These objects are being used to create a large completely destructible structure.
On initialization i am getting some serious lag (1-2 fps). After everything initializes the frames jump back up to normal. I am assuming this is due to initializing the physics for all of these objects. What exactly can i do here?
That is what loading screens are for. While everything initializes, you play the loading screen so there's no initial lag
Answer by PangeaMMO · Jun 24, 2013 at 01:14 AM
I was able to fix this by changing the timestep and max timestep to .02 in the time settings.
this menu is located at edit > project settings > time
This still is not ideal as it causes in game physic to start slowly, it's is much better than a choppy 2 fps.
Your answer
Follow this Question
Related Questions
Best way for rigidbody enemy? 1 Answer
OnCollisionEnter isn't working between two RigidBodies 1 Answer
My object falls through terrain. 8 Answers
Character Controller Pushes Car With Wheel Colliders? 0 Answers
How to setup character Collisions? 2 Answers