From the course: Unity 3D 2021 Essential Training
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Unity collider components - Unity Tutorial
From the course: Unity 3D 2021 Essential Training
Unity collider components
- [Instructor] So as we've briefly explored in the last chapter, colliders are the main tool to allow us to set some rules around collisions for objects in our scene. In other words, make sure you don't walk through walls or objects, or when you have a ball, in this case, that it doesn't fall forever, and as opposed to fall, it actually bounces off a collider or an object like, so. So what we're going to do is actually go ahead and add some colliders and then make sure that our ball bounces off that particular object here. So let's go ahead and first of all, add a physics material. So as you can see right now, we don't have any physics material to the sphere collider here. So in order for this particular ball to bounce and have some properties around the bounciness and so on, so forth, you need to add a physics material. So the way to do this is to right click inside of the animations folder here inside of our project and…
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