
[Unity] Physics: I tried “Physics. Spherecast”.
Before, I tried “Physics.Raycast”, then I wrote the results in this blog. [Link: Physics: I tried “Physics.Raycast” from Game Object.] [Link: Physics: I tried “Physics.Raycast” from Camera.] This time, I’ll introduce other Casting methods under Physics class. (However, I think that “Raycast” is the most popular and used high frequently.) [Ref: https://docs.unity3d.com/ScriptReference/Physics.html] [Some Cast methods under Physics class] BoxCast Casting Box shaped Ray, check whether hit the ray to... Read more