Are you ready to go gung ho? A Hotshot challenge

Now we have an understanding of the basic concept of creating the enemy AI, but our AI script still needs a lot of improvement to make it smarter. Why don't we do something to spice it up?

  • Try making a wall that the AI cannot jump over and add the ability for the enemy to avoid the wall by using Physics.CapsuleCast or Physics.RayCast and rotate the enemy rotate when it hits the wall
  • Add different types of weapons for our enemy
  • Try changing or adjusting the parameter of the AIController, such as the shotRange or getPlayerRange, to make the enemy react to the player faster
  • Add more waypoints for our Waypoints game object to make sure our enemy has more choice to walk
  • Add multiple enemies in the scene (you will need to adapt the HitPointUI game object to be able to track the hit points for each enemy)
  • Try changing the AIController code for the enemy to avoid the rocket and maybe make the rocket follow the player's movement
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.249.210