I want to know how it would be done in python because logic bricks seem to drop the framerate to much.Especially the radar sensor.At one time i used four properties one for north,one for south,one for west and one for east.But it drop the frame rate too much.I would like a better solution.I believe a python version that does not rely on sensors would be better.
In some cases, you could use a plane, set to ghost, actor, invisible, or sensor, instead of a radar. You wouldn’t get the full range of detection that you would get with a radar. But in some cases, maybe you wouldn’t need to. Like enemy eyes, for example. instead of an empty with a radar, it’s just a plane shaped like a cone. Parented to the enemy. It works for me in some cases, but not all.