1
$\begingroup$

I have a First person shooter game with enemies that are constantly seeking my character. How can I make a warning sign appear when an enemy is behind me? I have tried the near sensor, but it didn’t work.

$\endgroup$
0
$\begingroup$

The near sensor is checking if an object is near.

You requirement is to detect if the enemy is behind the character. Either you use a radar (looking behind the character), or you use the near and check if the detected objects are behind the character.

Nevertheless the near sensor should detect objects already. Are you sure the enemies are in range and detectable (dynamic, or rigid body)?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy