Rigidbody2DSynchronizableMoveRotation Method
Rotates the Rigidbody to angle (given in degrees).
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public void MoveRotation(
float angle
)
Parameters
- angle Single
- The new rotation angle for the Rigidbody object.