Unity3D | Tutorial | Raycast/Boxcast/Spherecast

Опубликовано: 01 Октябрь 2024
на канале: That Project
45,627
like

In this video, we'll learn how to use Raycast, Boxcast, and Spherecast.

When developing a game, you may use RayCast to determine if you are standing on the ground or falling. However, in the case of RayCast, only a line is shot to make a collision judgment, so there is a problem of using multiple RayCasts to check the area unit. To resolve this issue, APIs such as BoxCast and SphereCast are provided. Let's find out one by one.

Music:
Music provided by NoCopyrightSounds from Youtube.

[Unity Document]
https://docs.unity3d.com/ScriptRefere...
https://docs.unity3d.com/ScriptRefere...
https://docs.unity3d.com/ScriptRefere...

[Project Github Link]
https://github.com/0015/Unity_Project...

#Unity3d #Raycast #Boxcast #Spherecast #Physics #tutorial #casting #tech #development #app