rkkn Posted May 23, 2021 Share Posted May 23, 2021 I need a way to detect whether the player is in the air or on the ground. and I don't mean whether or not the player is jumping. This will be for the ragdoll state. Link to comment Share on other sites More sharing options...
dylbill Posted May 23, 2021 Share Posted May 23, 2021 The only way I can think of, is to place a really heavy flat invisible object at the player and compare using GetPositionZ() with the object and the player, as there isn't a GetGroundHeight script function. Link to comment Share on other sites More sharing options...
rkkn Posted May 24, 2021 Author Share Posted May 24, 2021 Thanks! good idea Link to comment Share on other sites More sharing options...
dylbill Posted May 24, 2021 Share Posted May 24, 2021 No problem Link to comment Share on other sites More sharing options...
Recommended Posts