Infinite Runner Engine 3D
  • đŸĨŗWelcome to Infinite Runner Engine 3D
  • âš ī¸Attention
  • đŸ“ēYouTube Tutorials
  • 🤔How to start?
  • đŸ•šī¸Game Scene
    • 🤖Character Controller
      • Change Animations
    • 💀Enemy Follower
      • Change Animations
    • Game Manager
    • Main Camera
    • Curved World
    • Audio Manager
    • Level System
    • Collectables
    • Obstacles
    • Building
    • Pattern System
      • Floor Pref
      • Default Pattern System
      • Rocket Pattern System
      • Special Pattern System
    • ADS Manager
    • Instantiate Object InGame
    • Input And Touch Controller
  • 🎑Title Scene
    • Game Config
    • Audio Manager
    • Shop Manger
    • ADS Manager
    • Level System + Scene Manager
  • âœ‰ī¸Contact
  • 🛑Error installing
Powered by GitBook
On this page
  1. Game Scene

Enemy Follower

PreviousChange AnimationsNextChange Animations

Last updated 1 year ago

Setting Enemy Editor

  1. Paste “Model FBX” to hierarchy

2. Rename this model to “Enemy” and add tag to “Item”

3.Setting this model layer to “Item”

4. Add script to this model > D3 ENEMY CONTROLLER:

This Contain:

Rigidbody, Capsule Collider and Animator

let it be as follows:

The enemy will get closer to the player as he collides with the obstacles, here you can modify the distance that the enemy will get when the player collides, the first collision of the player the enemy gets a little closer, the third collision (Random) the enemy approaches completely and takes life away from the player.

  1. Capsule Collider

This allows enemy movement and collision

-Change the size of the collider to fit your character

  • This is the recommendation:

6. Animation Manager

In the folder "Animation"

Find "PlayerEnemy"

Just Duplicate it and assign it to your enemy.

Optional: replace the default animations ()

đŸ•šī¸
💀
for more information here