From the course: Unity 3D 2021 Essential Training

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Optimizing collisions

Optimizing collisions

- [Instructor] Maximizing colliders is simply about going back to the colliders you've added, and edit them to be more realistic, especially for the cube ones. So let's get to it. So right now, everywhere you have mesh collider, it should basically be a perfect fit for that object. So basically the collider wraps around the mesh, like so. But in certain cases, a cube collider, which is what I would start with in a game, because you don't want basically your characters to hit those objects. So in case of a chair here, it would be a good fit. But the problem right now, if we go back to that chair instance, our mesh collider is really not realistic and it's not even fitting of that chair. It's too low. If I go down here, it's not even leveled with the top of the chair. So we definitely need to work on that one. So you could either change this to a mesh collider, or you can actually change this box. So the way to…

Contents