Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Stalking enemy AI in the Blender Game Engine

4

Add some intelligence to your games using logic bricks.

Aidy Burrows writes:

Be careful with this stuff, with enough logic bricks Blender might become self aware.

Yup, In this game development installment we’ll be taking a look at artificial intelligence in the Blender game engine.

  • How to get an enemy to roam around the level?
  • How to get the enemy to recognize the player?
  • How to get an enemy to pursue the player?
  • What happens when the enemy loses sight of the enemy?

Also thank you to everyone who offered feedback however small. It was a huge help and immensely encouraging! Thank you again! :)

4 Comments

    • Hi Charles, that's a good question and isn't covered in the tutorial, the solution is quite simple though. Because the walls don't change position throughout the level the AI here doesn't require a setup that needs to detect for wall collision, simply the navgraph that the enemy is using is generated with the walls in mind so it doesn't try to go through walls.

      In other words make sure the floor and the walls are selected when building the navgraph. Hope that helps! - Aidy.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×