» 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 | 213 downloads

motzi 29/10/2016 - 18:26

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

anonymous user login

Shoutbox

~2d ago

joreg: @microdee: yep i think the site takes user submissions..

~2d ago

microdee: @joreg: it's missing FlareTic... ;)

~2d ago

joreg: @motzi yeah, welcome to my life..

~2d ago

motzi: @joreg: i'm tempted to look into PraxisLIVE :)

~2d ago

joreg: @u7: no worries, we'll still be here when you everyone comes back...

~2d ago

u7angel: @joreg, are u trying to get rid of the community ? :)

~2d ago

joreg: bored of #vvvv? try some alternatives: https://alternativeto.net/software/vvvv/

~4d ago

tonfilm: @beyon you can also use F# together with #vl, see: #fsharp #dotnet #visualprogramming https://github.com/vvvv/VL.DemoLib/tree/master/src/VL.FSharpDemoLib

~4d ago

beyon: tonfilm: Ok,currently using F# though but maybe I should look into sharpdx vs xenko math

~4d ago

tonfilm: @beyon #vl also fills these gaps with huge range of collision detection math from #sharpdx which is basically the same as #xenko's