FromRadians(float)
Create a rotation with the specified rotation, in radians. See PhysicsRotate.FromDegrees.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsRotate FromRadians(float radians)
Parameters
The rotation angle specified, in radians.
Returns
Type | Description |
|---|---|
| PhysicsRotate | The rotation represented by the specified rotation, in radians. |