No announcement yet.

Enemy see player, then attack

  • Filter
  • Time
  • Show
Clear All
new posts

    Enemy see player, then attack

    I am not sure what info will be needed for assistance:

    Project is FPS.

    First Person player works fine, moves around, shoots enemy, kills enemy with health.

    Enemy works fine, moves around in random spots. When shot by player, faces player and starts shooting, can kill player.

    This is done via Behavior Tree, following a tutorial.

    How can I add to this to allow the enemy to Sense the player via sight, and have the enemy attack when it sees the player?

    Thanks for any assistance.

    Click image for larger version

Name:	behaviorTree.jpg
Views:	1
Size:	165.7 KB
ID:	1171439
    A faster way to animate