I have a game where you climb staircase and i want to check if player fell and if player`s height was over a 1000 when player fell. I have an idea updating a maxHeight Value every 30 seconds or so but thats a teribble way. I dont need the script i just need to know what I should use. Any help appreciated!
1 Like
use raycasting… it’s very useful in these types of cases
1 Like
thanks! i`ll try that out soon!
1 Like
Record their character’s height upon their Humanoid
entering HumanoidStateType.Freefall
and compare it to their height once they leave it (usually into HumanoidStateType.Landed
) to calculate the height they fell and what height they fell form.
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.