I have a trigger that covers the floor of my building. When the player drops down on this floor from higher up, I want the trigger to activate. But I only want the trigger to activate when this most recent falling distance of the player is larger than a regular jump. (So just jumping around on the ground doesn't trigger it). How can I get that "most recent falling distance of the player"? Or is there some other/easier way? Thanks!
Bump. Anyone?
You can record the last know position of the player before he was no longer "grounded". If it's no grounded then it's falling.
Then check again when you know he's grounded again, subtract both Vector3 (:GetWorldPosition on Player), and get the magnitude with the size property of the result.
Something like this