E2 turret won't stop at angle threshold
💻 Expression 2•Updated 2 days ago•0 views
It is an angle-wrap issue: Source angles run from 180 to -180, so a plain threshold check fails once the angle wraps past the ±180 boundary. The stop condition …
Why does an E2-driven turret keep rotating instead of stopping at an angle threshold?
It is an angle-wrap issue: Source angles run from 180 to -180, so a plain threshold check fails once the angle wraps past the ±180 boundary. The stop condition has to account for the wraparound.