News Forums RAIN Sample Projects, How To, and Code have units avoid each other while following a target

This topic contains 0 replies, has 1 voice, and was last updated by  CrispyArrow 4 days, 12 hours ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #39284

    CrispyArrow
    Participant

    I have 3 units that have an AI that patrols an area, when it sees the player object, it will start following it until the player is out of vision. the only problem i have is: when they see the player, they do no collide nor avoid eachother. I tried with the character controller, which made the collisions work, but now they are all in a line behind eachother, unable to move because one of the 3 units is in the front blocking the path.

    basically, what i want to know is how to make it so these units avoid eachother, while still being able to path towards the target player? (they are the same gameobject with the same AI and name)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.