UnwindAngle(float)
Convert any angle into the range [-pi, pi].
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static float UnwindAngle(float angle)
Parameters
The angle to convert, in radians.
Returns
Type | Description |
|---|---|
| float | The angle converted into the range [-pi, pi]. |