In this section, we will go over several techniques, optimizations, tricks, and settings that will allow your game to extract every drop of physics performance from your game. This includes how to set up your scene, learn when to use static colliders, how to configure the Collision Matrix, when to use triggers instead of Rigidbodies, and much more. Let's go over all of these, one by one.
Physics performance optimizations
Scene setup
Firstly, there are several best practices we can apply to our scenes to improve the consistency of the physics simulation. Note that several of these techniques will not necessarily improve CPU or memory usage, but they will result in a reduced likelihood of instability from the physics engine...