Timeline for Mathf.Clamp not Working Properly to clamp a rotation between -90° and 90°
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 24, 2020 at 17:59 | comment | added | DMGregory♦ | Note you can use Mathf.DeltaAngle(0, x) instead of writing the modulo/conditional branches yourself. But I'm not sure that solves the particular problem OP is having. | |
| Aug 24, 2020 at 17:57 | history | edited | Kevin | CC BY-SA 4.0 | deleted 200 characters in body |
| Aug 24, 2020 at 17:44 | history | answered | Kevin | CC BY-SA 4.0 |