I'm trying to recreate some polygon shapes in 3D using primitive capsule shapes basically using the y scaling factor to specify the line segment length. I'm trying this:
but can't figure out how to determine the correct translation I need to move the bottom of the second shape to the top of the first.
It seems that if there was a routine that would take a "from" and "to" Vector3 and returned a transform that would property project from to to, that's what I need, but I can't find that.
Maybe there is a better approach?