Rigidbody2DSynchronizableMoveRotation Method
Rotates the Rigidbody to angle (given in degrees).
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public void MoveRotation(
float angle
)
Parameters
- angle Single
- The new rotation angle for the Rigidbody object.