0 votes

I am currently using area 3D with physics disabled to implement line of sight of units. I am using signals bodyentered and bodyexited signals. There will be a lot of units, and I am also planning on adding another area 3D to implement range of units (it can be bigger than line of sight or smaller), so I am worried about performance aspect of area 3D. Is collision detection implemented naively or are there some optimization algorithms using octrees or similar structures to make complexity less than O(n^2)?

asked Jul 24, 2019 in Engine by gmaps (692 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.