Transform.rotate method
Rotates this Transform
by angleInRadians
around world position (0,0,0)
towards axis
direction.
Parameters
-
axis: Vector3
rotation axis.
-
angle_in_radians: float
rotation in radians.
Rotates this Transform
by angleInRadians
around world position (0,0,0)
towards axis
direction.
rotation axis.
rotation in radians.