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