Efficient way to tell if there is an actor at a specific location?
I've been working on a pacman like maze game ( the example map I have actually has the exact layout of the pacman maze) and have run into a problem with spawning my pickups. Now I know that there is a get actors of a class function that I could potentially use to check whether every actor in of that class is overlapping my newly spawned actor and if it is delete the latter mentioned actor. This does not make it possible, however, to test without putting everything into a class. I do wonder, however, if there is a way to check a specific location for any actor or to check if any actor is currently overlapping my object. An idea in the right direction would be nice. Here is how the game looks right now without location checking.
Most methods you could choose for this are pretty low cost performance-wise. A couple ways you could do it:
answered Nov 03 '14 at 07:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here