Replies: 1 comment
-
To clarify, currently all three of these scenarios report a collision with move_and_slide, whereas what i expect (and what my helper method achieves) is for only B to be treated as a collision |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been having big troubles with most of my object scripts, as move_and_slide returns true (and a list of collisions) if i walk alongside a wall (edge to edge), or if i walk towards a wall and then start moving away from it (because it's edge to edge before the collision)
To fix this, i now add a helper method to all my objects:
It would be nice to be able to just click a checkbox on CharacterBody2D to not report perpendicular "grazing" perpendicular collisions in the first place.
Edit production team: added syntax highlight
Beta Was this translation helpful? Give feedback.
All reactions