Youcef Madadi
Web and game development teacher
You can name it what ever you want
You notice the name in the hierarchy
In the project Window Go to :
Assets/Kart Assets/Karting/Models
1st Model to use is GroundPlane
Drag it to the screen
We notice that now it's in our hierarchy
change its position into (0,0,0) to make the plane our reference.
we add mesh collider so unity use the shape of our oubject as a collider.
It may seems suitable for any model but it makes our processor does more calculation than basic shape collider.
Without collider
With collider
lets build up some roads
How to duplicate:
CTRL+C to copy
CTRL+V to past
We click CTRL to move smoothly.
lets build up some roads
How to duplicate:
CTRL+C to copy
CTRL+V to past
Follow the video
You can notice that the second model didn't change
No mesh collider
Follow the video
Now we can use prefab as we want.
You can find a lot of prefabs in :
Assets/Kart Assets/Karting/Prefabs
and
Assets/Kart Assets/Mod Assets/3DProps
Follow the video
Example:
we want to give all rounded trees a collider
Follow the video
By Youcef Madadi