Rigidbody2DSynchronizableSetRotation Method

Sets the rotation of the Rigidbody2D to angle (given in degrees).

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public void SetRotation(
	float angle
)

Parameters

angle  Single
The rotation of the Rigidbody (in degrees).

See Also