Forum rules - please read before posting.

characters pass through each other

Hi,

i have a problem with player and NPC. They pass through each other.
I think maybe coliders doesn`t work. How to fix this?

image

here Player(woman) settings

image
image

here npc(boy) settings

image
image

unity 5.3.4
AC 1.55

Comments

  • Character evasion is a property of the NavMesh they're both standing on - not the characters themselves.  Have a read over Section 2.13 of the Manual, as you'll need to be aware of performance impact etc before tweaking it.
  • i added Character evasion to NavMesh but its make no effect

    image
  • Have you followed the advice given in the info box, and added Circle Colliders to the base objects of your characters?
  • The separation distance between two characters will be determined by the radius of the character not having their NavPath calculated.  The two characters aren't too close in the image - they're circles will overlap, but their centres shouldn't enter each others circles.

    If you enable "Gizmos" in the Game Window, you can see their NavPath as they move.  Are you seeing their paths get re-adjusted to move around each other?  You may have to set a non-zero Pathfinding update time (in the Settings Manager) if you want two moving characters to avoid each other.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.