Transform.set_direction method
Rotates this Transform so that
- its local
Y-axis points towards the defineddirection. - its local
Z-axis points towards theworldUpdirection.
Note: The local Z-axis always attempts to be perpendicular to Y, which may lead to
worldUp not always accurately pointed at.