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