Rigidbody2DSynchronizableSetRotation Method
Sets the rotation of the Rigidbody2D to angle (given in degrees).
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public void SetRotation(
float angle
)
Parameters
- angle Single
- The rotation of the Rigidbody (in degrees).