Im making a platformer and i want to know how to use Contact Point to check the ground below the player and jump but i don’t know how to use contact point and i know there is other ways to check ground but i want to know how to this one
2 ways :
1-character controller :
if you are using this component you can get this in code and its have a bool named (IsGrounded) and this return the object hit ground or not.
2-collision :
create a bool
in OncollisionEnter set bool to true
in OncollisionExit set bool to false
in OncollisionStay set bool to true