Transform.rotate_local method

rotate_local(self, axis: Vector3, angle_in_radians: float) -> Transform:

Rotates this Transform by angleInRadians around its pivot towards axis direction.

Parameters

  • axis: Vector3

    rotation axis.

  • angle_in_radians: float

    rotation in radians.

Returns