Vector = Second_point - First_point
You can unitize resulting vector using Vector.Unitize() method.



On Feb 10, 10:14 am, fraguada <[email protected]> wrote:
> Can anyone point me to how I would create a vector from two points in
> the SDK for a script component?  I see that there are several ways to
> use the On3DVector, including using x,y,z coordinates of one
> point...assuming relative to 0,0,0...but if I have two points, how do
> I construct a Vector?  I suppose I could always orient the one point,
> but I have a feeling there is a way to construct this...
>
> best,
> luis

Reply via email to