Unity - better way to ground detect [Raycast vs. BoxCast vs CheckBox]
Channel:
Subscribers:
339
Published on ● Video Link: https://www.youtube.com/watch?v=Edc8pkzo8FI
I found conflicting setups for 3D rigidbody ground detection. Wanted to share the best method.
[SerializeField] Vector3 boxSize;
[SerializeField] LayerMask layerMask;
bool CheckBoxGroundCheck ()
{
return Physics.CheckBox(transform.position, boxSize, transform.rotation, layerMask);
}
Other Videos By pizzaparty
Tags:
unity
gaming
unity3d
raycast
ground detection
ground-detection
boxcast
box cast
video games
game engine
tutorial
lesson
guide