18 - Crouch #44
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: unfa/liblast#44
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "crouch"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Solves #18
Crouch implemented for CapsuleShape and BoxShape. It's best if we merge this after #30 because I wrote it from that state.
is_on_floor
was detected and favor the built-in functionis_on_floor
of theKinematicBody
.One thing we noticed is that the refactoring of the is_on_floor code reintroduced several bugs related to the built in function - namely, sliding on ramps while standing still, and getting a downward boost when walking off of a platform.
Oh.. I thought I had tested enough. I can remake it the other way the next weekend.
@CombustibleLemonade I got a pause at work and did a quick look. I fixed it and tried to explain how I fixed it in this video: https://youtu.be/WT0zFvcNgdA
Thank you for the explanation! That still leaves the being thrown downward when walking off of a cliff, but I think we'll have to use raycasts to check if there is a cliff if we want to solve this properly. Also, 21:9 aspect ratios are no problem! I have such a monitor too.
I think somehow the velocity is accumulating downwards. I can look into it later! Oh, my monitor is also from LG although another model. Hehe 21:9 gang