I’m planning on adding some laser turrets (like in Star Wars) to my game, but I’m experiencing a heavy drop in framerate when I add radar sensors to them to detect targets. Each turret increases the Physics with 15%! Is this because distance and angle of the target needs to be calculated by the radar sensor? Is Python better for such a thing?
edit: it seems indeed that the Physics rate increases when the radar cone is bigger. 1 radar with a cone of 180 degrees is ‘heavier’ than 2 radars with 90 degrees each. This means that a radar DOES increase the Physics.
I assumed Physics was only increased when you are simulating physics, with gravity, dynamic actors, etc.
Teaser screenshot of my new game: