I'm using RayCast2D to detect wall collisions. I need to get the point at which RayCast2D intersects the wall, after which I set a marker at that point. But for some reason, his position is not where it should be.
Green dot - coordinates where the collision point should be
The red circle - is the wrong position, which is returned to me by the RayCast2D.get_collision_point() function
Does anyone know what's wrong? Why is collision_point() not true?
