Godot Version
4.3
Question
Hi all, I’m creating a building system, and I’m using the len(get_overlapping_areas()) method to get the collision count of objects. Everything works fine, but when moving the mouse quickly (the object moves behind the mouse), collisions are not detected in time and the object is built on another. Is there any ways to fix this, or should I use another faster method. It works even worse with signals. Thanks in advance.
Всем привет, я создаю систему строительства, и использую метод len(get_overlapping_areas()) для получения кол-во коллизий объектов. Всё работает нормально, но при быстром перемещении мыши (объект двигается за мышью), коллизии не успевают обнаружиться и объект строится на другом. Есть ли способы исправить это, или мне использовать другой более быстрый метод. С сигналами работает всё ещё хуже. Заранее спасибо.