Is your feature request related to a problem? Please describe.
Feature to add a slight buffer to checking if grounded to allow jumping shortly after leaving a ledge.
Describe the script you'd like
Script should set a value to the length of coyote time (variable) every frame that player is grounded. Decrease every frame. When jumping, check that val is > 0
Is it 2D or 3D (or both) - if there would be any difference between 2D and 3D please raise them as separate issues
Both
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Feature to add a slight buffer to checking if grounded to allow jumping shortly after leaving a ledge.
Describe the script you'd like
Script should set a value to the length of coyote time (variable) every frame that player is grounded. Decrease every frame. When jumping, check that val is > 0
Is it 2D or 3D (or both) - if there would be any difference between 2D and 3D please raise them as separate issues
Both
Additional context
Add any other context or screenshots about the feature request here.