- Home /
Optimal way to check repeatedly close objects
Hi, I am developing simple flammable object. I have made it but i am having second thoughts on implementation. I have flammable object that can catch fire.Every flammable object that is on fire cast every 0.1sec OverlapCircleAll to check its surroundings for other flammable objects so it can fire them up. This works well on static and dynamic moving objects.
It works fine but I am having second thoughts about performance impact on lets say 100 objects casting OverlapCircleAll. Any ideas to improve performance or I should not bother ? Thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220611232023im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Trying to create a '2D 8 Ball Pool' game - Trajectory Prediction 1 Answer
Coin Magnet Performance Issue Mobile 3 Answers
Does Unity's Dictionary performance depend on number of dictionaries? 0 Answers
Sendmessage performance 3 Answers
What kind of performance impact does looping anmiations have on a game? 1 Answer