Hi,
I’m porting a 6.3 script to 7.1. What is the 7.1 equivalent to the 6.3 Direction to XYZ node?
Thanks,
Dan
Hi,
I’m porting a 6.3 script to 7.1. What is the 7.1 equivalent to the 6.3 Direction to XYZ node?
Thanks,
Dan
In 0.6.3, vectors and points were both represented by XYZs, but in 0.7 and forward, vectors are properly their own thing. If you want the vector from one point to another, use Vector.ByTwoPoints. If you want the vector from the origin to a point, you could use the same node with Point.Origin as the first point, or as a shortcut, you can use Point.AsVector.
Hi Colin,
Thanks!, I’ll give it a try.
Dan