I am trying to do a "mass physics" type simulation, but it seems that once a certain number of simultaneous collisions has occurred for a prop that prop "freezes" and doesn't respond to physics at all, until it stops colliding.
Is there any way this can be disabled in the console or anything, or is this hard-coded into the physics engine?
Do you even understand why they freeze?
[QUOTE=B1N4RY!;25302804]Do you even understand why they freeze?[/QUOTE]
Yes - it's a simple mechanism put in place to prevent lag when dealing with large amounts of props. I actually read about this somewhere a long time ago, but I cannot find the original source which is why I am posting here.
gm_physiteration? Default is 4, Raising it will make the phys simulation more accurate..
MaxCollisionChecksPerTimestep from [URL="http://wiki.garrysmod.com/?title=Physenv.GetPerformanceSettings"]http://wiki.garrysmod.com/?title=Physenv.GetPerformanceSettings[/URL]
You can set it here: [URL="http://wiki.garrysmod.com/?title=Physenv.SetPerformanceSettings"]http://wiki.garrysmod.com/?title=Physenv.SetPerformanceSettings[/URL]
And it's also explained here: [URL="http://wiki.garrysmod.com/?title=Physics#Max_physics_operations"]http://wiki.garrysmod.com/?title=Physics#Max_physics_operations[/URL]
Sorry, you need to Log In to post a reply to this thread.