Closed SolarysDev closed 1 year ago
Maybe make this 15ms instead
Adjusted and added some qol stuff
Also what was the reasoning behind not adding fractional milliseconds to the accumulation?
Honestly I forgot where I was going with that, fixed now
Thanks, it looks good but will be delayed in merging it until we test integration internally
Reimplement
bBrakingFrameTolerated
's logic to be explicitly decoupled from framerate and configurable.Under the proposed logic, when the player initially lands on the ground,
DeltaTime
is converted to milliseconds and added each frame to a timer that tracks how long they've been on the ground. When this timer reaches the configured braking window, braking can be applied and the timer is zeroed out until the player jumps and lands on the ground again.The braking window is exposed in Blueprints and defaults to 16 milliseconds, or 1 frame at 60FPS.