Unity RTS Project Fixes [2] - 2D Drag Box

Опубликовано: 01 Май 2026
на канале: UnityChat
14,835
27

In this video I fix 3 issues with the 2D drag box. The first fix stops the box from sometimes producing anomalous widths and heights causing the box to jump in random directions. The second fix addresses the flaw of WorldToScreenPoint, that causes errors when a world point is behind the camera. Fix 3 disables rotation when the user is dragging, as rotation whilst dragging also causes errors in the drag box.