So I want to detect if the player is a bit above the ground (aka just before they touch the ground after falling). How would I detect their distance and make it reliable.
using raycasts, you can raycast downwards and get the distance
1 Like
how would i calculate distance of that and would i loop fire ray casts or what
when the character is in the air you loop raycasts and the raycast return a raycast and it has stuff like distance position etc… what you want here is distance and also check if the raycast isn’t nil