For example, finding the unit between you and a target ((target.Position - myTorso.Position).Unit

3 comments

0

Wouldn't unit be a measuring type?

0

.Unit describes the unit vector describing the initial Vector3. Vector3.Unit is calculated by dividing the initial Vector3 by the Vector3's magnitude.

0

And no, Unit is not a measuring type. It just describes the unit of the vector in 3-dimensional space as a matrix.