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 - Unity Tutorial
From the course: Unity 3D 2021 Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
- Ex_Files_Unity_3D_2021_EssT_Ch2.zip
- Ex_Files_Unity_3D_2021_EssT_Ch3.zip
- Ex_Files_Unity_3D_2021_EssT_Ch4.zip
- Ex_Files_Unity_3D_2021_EssT_Ch5.zip
- Ex_Files_Unity_3D_2021_EssT_Ch6.zip
- Ex_Files_Unity_3D_2021_EssT_Ch7.zip
- Ex_Files_Unity_3D_2021_EssT_Ch8.zip
- Ex_Files_Unity_3D_2021_EssT_Ch9.zip
- Ex_Files_Unity_3D_2021_EssT_Ch10.zip
- Ex_Files_Unity_3D_2021_EssT_Ch11.zip
- Ex_Files_Unity_3D_2021_EssT_Ch12.zip
- Ex_Files_Unity_3D_2021_EssT_Ch13.zip
- Ex_Files_Unity_3D_2021_EssT_Ch14.zip
- Ex_Files_Unity_3D_2021_EssT_Ch15.zip
- Ex_Files_Unity_3D_2021_EssT_Final_Resources.zip