Transform.set_direction method set_direction(self, direction: Vector3) -> Transform: Rotates this Transform so that its local Y-axis points towards the defined direction. Parameters direction: Vector3 Returns Transform