Writing Stable Physical Simulations

The physical simulation engine can be quite sensitive to the configuration of bodies in a simulation. This can lead to performance problems, instabilities and unexpected results. Because of the number of factors involved, it can be difficult to track down the exact reason for instabilities or unexpected results.

Below are some things to watch out for when dealing with physical simulation.