#Closest Point on CollisionShape2D

2 messages · Page 1 of 1 (latest)

blissful gate
#

Good morning friends!

Does anyone know what the equivalent of a method like this is for collisionshapes?

I am trying to find the closest point on the collision shapes perimeter from a random point in 2d Space

any help is appreciated

weak hound
#

Okay. Let's start by esbalishing why you want to do this. Maybe we can find another solution to get the desired result