Author Topic: Vehicle Physics Stop  (Read 678 times)

If you leave a vehicle "At rest" (stopped or 'stuck' so it isn't moving for a while), the physics stop for it until it is pushed, moved or impulsed again, to reduce lag from simulating physics for everything. (See the picture, taken after moving a jeep out from underneath another)



Is there any way I can apply this effect through scripting to vehicles and objects? I think it would be nice for a "Physics Gun"-style freeze effect.

Isn't stopping vehicle physics controlled by the game engine?

Probably, I was just hoping for a way to enable this through scripting as well.
« Last Edit: August 29, 2008, 02:21:40 AM by Space Guy »

Not sure, maybe you could set the velocity to 0.

Chances are this is an engine-side optimization only and can't be forced via script.