» ClosestPoint (Line 3D)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

ClosestPoint (Line 3D)

module
Credits: dominikkoller

about

This is something small I've needed often and always ended up remaking.

Simply gives the closest point on a line, distance and whether it's on the defined linesegment or on the infinitely extended line.

Question to devvvvs: Do you still add things like these to the addonpack? If so, is a PR the way to go?

Mainly taken from https://forum.unity3d.com/threads/math-problem.8114/#post-59715

download

Line3dClosestPoint.zip
27.10.16 [18:16 UTC] by dominikKoller | 179 downloads

motzi 29/10/2016 - 19:26

i made something like this earlier for getting the minimal distance of polygons

anonymous user login

Shoutbox

~11h ago

metrowave: yah, thanks @tekcor

~16h ago

david: @tekcor. thats bad news. thanks for putting it together and all the efford though. next time hopefully.

~1d ago

tekcor: VVVV.js workshop chanceled, unfortunately not enough people. Thanks to everyone who wanted to come and sorry!

~2d ago

neuston: @joreg Thank you very much!

~2d ago

joreg: @neuston: please check the country list again!

~2d ago

xd_nitro: no users in all of Wales!

~3d ago

microdee: it's like telling a west-Ukrainian that they're Russians...

~3d ago

microdee: @tonfilm: Telling a person from Hong Kong that they're Chinese is a bigger insult than calling their mom names ;)

~3d ago

tonfilm: Patch your own #mainloop with microsecond precision in #reactive #dotNET style. #rxNET #rx #gamedev #vvvv #VL vl-patch-your-own-mainloops