TheFirstPerson
TheFirstPerson copied to clipboard
Fast fall to the ground when near end of hard edge
Hey! 😁 The controller is awesome, great work on it! 😁
Wanted to report a bit of an issue I'm getting when near the hard edge of a collider using the first person controller
I exposed the variables and checked that the yVal is hitting -17 when the groundAngle is 42°.
This resets to -3 (the default) when higher than 43°.
This is a problem because you can "snap" to the floor when this happens sometimes, because you are already at -17 velocity.
I don't know if that is actually the problem but here's a gif with an example.
Here's a "frame-by-frame" of how it went down
Grounded
Not grounded (speed is way too fast)
Hey thanks for making this issue, sorry for the slow response, can I get you to check if you can reproduce this behaviour with slope slide disabled, I suspect it might be issues with my current sliding calculations. I'm hoping to completely rework the sliding system soon to make it work a lot better as I've had major issues on my own projects with slopes.