This function is pretty much exactly what I need, but I can’t use it, because there is no information on how to do so. not even the developer hub documentation gives me details. either Im missing something, or there is genuinely not any information on this. Can someone tell me how I would go about correctly using it?
From brief experimentation:
It seems that you call the GetClosestPointOnSurface function on a basepart, and provide a Vector3.
The function then returns a position on the basepart (that is also on the surface of the basepart and hence isn’t inside the part) that is the closest to the specified vector3.
Does that make it any clearer with how it works?
Yea, I was just so stumped. I understand it now though.