I'm trying to find the shortest distance between r(t) and rm(t), at a certain time t. I could not get it using EuclideanDistance, any guess on how to do that? Here is what I have:
r[t_] = {Sin[2 \[Pi]*t], t^3, Cos[2 \[Pi]*t]^2}; EscapePath = ParametricPlot3D [ r[t], {t, 0, 2}, AxesLabel -> {Style["x", Large], Style["y", Large ], Style["z", Large]}]; start = Graphics3D[{Green, Sphere[r[0], 0.1]}]; loc1 = Graphics3D[{Red, Sphere [r[2], 0.1]}]; rm[t_] = {1.2*Sin[2 \[Pi]*t], t^4, 1.1*Cos[2 \[Pi]*(t + 0.2)]^2}; MissilePath = ParametricPlot3D [ rm[t], {t, 0, 2}, AxesLabel -> {Style["x", Large], Style["y", Large ], Style["z", Large]}]; startm = Graphics3D[{Blue, Sphere[rm[0], 0.1]}]; loc1m = Graphics3D[{Yellow, Sphere [rm[2], 0.1]}]; Show[EscapePath, MissilePath, start, startm, loc1, loc1m, PlotRange -> All, Background -> RGBColor[0.97`, 0.93`, 0.68`] ] 