Transform.look_at method
Rotates this Transform
so that the forward vector points to the worldPosition
.
Note: By default, DX engine uses Y
axis as forward vector.
Parameters
-
world_position: Vector3
point to look at.
Rotates this Transform
so that the forward vector points to the worldPosition
.
Note: By default, DX engine uses Y
axis as forward vector.
point to look at.