Добавить
Уведомления

Unity - How to Detect Collision in C# [Using Colliders]

In this tutorial we discuss adding colliders on our objects so that we can detect collision within our script. SUBSCRIBE: https://bit.ly/2Js78lE ============ In this video, you will learn: 0:55 - Choosing the right collider for your environment 1:05 - How a collider works 1:30 - 2D and 3D colliders to use 2:05 - Adding a Circle Collider 2D 3:35 - Adding a Box Collider 2D 4:19 - How to use isTrigger 4:45 - Detecting Collision in C# 6:10 - Using Instantiate to load an explosion 7:00 - Destroy on Collision COPY & PASTE CODE FROM THIS TUTORIAL: https://pressstart.vip/tutorials/2018/11/1/75/collision-detection.html PREVIOUS VIDEOS: Movement: https://www.youtube.com/watch?v=BxO59UyXPLc Obstacles: https://www.youtube.com/watch?v=E7gmylDS1C4 MORE TUTORIALS: https://pressstart.vip/unity-tutorials WEEKLY DEVELOPER STORIES AND TIPS: https://pressstart.vip/newsletter

Иконка канала Игры и Лор
21 подписчик
12+
28 просмотров
2 года назад
28 октября 2023 г.
12+
28 просмотров
2 года назад
28 октября 2023 г.

In this tutorial we discuss adding colliders on our objects so that we can detect collision within our script. SUBSCRIBE: https://bit.ly/2Js78lE ============ In this video, you will learn: 0:55 - Choosing the right collider for your environment 1:05 - How a collider works 1:30 - 2D and 3D colliders to use 2:05 - Adding a Circle Collider 2D 3:35 - Adding a Box Collider 2D 4:19 - How to use isTrigger 4:45 - Detecting Collision in C# 6:10 - Using Instantiate to load an explosion 7:00 - Destroy on Collision COPY & PASTE CODE FROM THIS TUTORIAL: https://pressstart.vip/tutorials/2018/11/1/75/collision-detection.html PREVIOUS VIDEOS: Movement: https://www.youtube.com/watch?v=BxO59UyXPLc Obstacles: https://www.youtube.com/watch?v=E7gmylDS1C4 MORE TUTORIALS: https://pressstart.vip/unity-tutorials WEEKLY DEVELOPER STORIES AND TIPS: https://pressstart.vip/newsletter

, чтобы оставлять комментарии