Posted By: alibaba
Getting the closest point on a line and return the normal - 12/01/15 09:39
Hi guys,
lets say I have a line and a point. I need to get the closest point on the line to that point and also the normal on that point.
How would you achieve it? I have thought on some ways, but they are pretty dirty and slow.
You can interpret the situation as a "path" and a close "entity" in a level.
lets say I have a line and a point. I need to get the closest point on the line to that point and also the normal on that point.
How would you achieve it? I have thought on some ways, but they are pretty dirty and slow.
You can interpret the situation as a "path" and a close "entity" in a level.