Detecting whether a player is touching the ground

I’ve been looking around for ages to find a script that would allow me to have an animation and/or a sound played every time the player touches the floor. I looked at a few jump scripts but they didn’t really help.
If you have a script or can write a script that would function something like: if the player touches the ground once: play animation. If the magnitude is great enough then play a sound.

1 Answer

1

You just raycast to do this. IT’s how all video games work. SEARCH on here for 100s of answers about it.