Snap CollisionShape2D to the top of an Area2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 9BitStrider

Okay, so, I’m using Area2Ds to determine if the player is overlapping a ladder in my game. I want to have the player node snap the the topmost pixel of that Area2D (which would be the very top of the ladder. A one way collision tile is also placed at the top to keep the player from falling through when ladder functions cease). Unfortunately, what I have sends the player into it’s falling state before they collide with the top tile for the ladder. I’m hoping that the snap will allow me to set the player into it’s idle state without it going into it’s fall animation.

Video Showing the Problem (Ignore the wonky camera. No idea why OBS Studio did that)