Рет қаралды 7,128
In this Unity tutorial, we'll be discussing how to create and use colliders in Unity. We'll cover topics like how to create colliders, OnCollision and OnTrigger events, how to set collision filtering preferences, and more!
If you're new to Unity or want to learn more about collision filtering, then this tutorial is for you! We'll cover everything you need to know to create and use colliders in Unity for efficient game development. Let us help you master Unity's Colliders!
****************************
LINKS MENTIONED IN THIS VIDEO:
Rigidbodies (Learn more about Collision Detection) 👇
• Rigidbody in Unity - E...
Collectibles (Collision filtering + Inheritance) 👇
• A Better Collectibles ...
Collision Detection Algorithms 👇
docs.unity3d.com/Manual/Conti...
Modular Castle Asset Pack 👇
assetstore.unity.com/packages...
Read more about Colliders 👇
docs.unity3d.com/ScriptRefere...
****************************
For doubts and stuff, join our discord club👇
/ discord
Check out my Instagram 👇
/ anandev.0
*****************************
TIMESTAMPS🔍
0:00 Colliders in Unity
1:07 How to add colliders
1:28 Compound Colliders
3:03 Physics Materials
3:27 Static and Dynamic Colliders
3:54 Collision Detection
4:07 OnCollision Events
6:20 Triggers
6:57 OnTrigger Events
7:50 Trigger Detection with compound collider (Example)
9:07 Filtering Collisions
9:20 Using Tags
9:53 Using Layers
10:35 Tags vs Layers
11:19 Using GetComponent() function
11:48 Using Collision Matrix
12:35 IgnoreCollision()
13:36 Which Collision Filtering to Use?
13:58 Class Inheritance and Collisions?
14:34 Outrooooooo
#unitytutorials #gamedevelopment #unity3d #unitytutorial #collision
If you have any questions, comment below, and I will try to answer them to the best of my knowledge.
Thank you for watching the video and reading this description. Take care.