Use a helper pivot and align it to the vector and then tformvector
You could also use Dot product for this.
Stevie
;assume d.vector3 is destination ;assume w.vector3 is the world vector ;assume n.vector3 is the new vector global HelperPivot = createpivot() . . . aligntovector HelperPivot, d\x, d\y, d\z, 3 tformvector w\x, w\y, w\z , 0 , HelperPivot n\x = tformedx() n\y = tformedy() n\z = tformedz()
You could also use Dot product for this.
Stevie