How could I find a point on a mesh which is closest to a given location? I could even use nearest vertex of render mesh or nearest point on the collision hull.
There is a Get Closest Point on Collision node. It seems to take a 3D coordinate and output the closest vertex on the “collision surface” (mesh?), but to be honest I haven’t tried it.
Here is the node reference: Get Closest Point on Collision | Unreal Engine Documentation
And here is the C++ reference of a similar function made by Rama, which might be related or be the origin of that node: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
2 Likes