Hello!
I’ve set up a character as an NPC.
This NCP has a rigidbody and a box collider.
The NPC chases the player.
The NPC’s position is simply driven by the root motion of the animation.
The rotation is done automatically by a script so that the NPC rotates towards the player.
I’ve placed a wall (a simple box) in front of the NPC.
The box has a box collider, and it’s set to “Static”.
I expected that the box collider of the wall would stop my NPC from walking through it, but it doesn’t.
But the wall does stop my FPS, so I think the problem must be within my NPC.
Does anybody know what I’m doing wrong?
Thank you for any hint.