I have a npc that moves on the scene in a certain moment, and I want to have collision on the npc
When he moves ALONE it’s seems ok, but when my character moves together, the npc start flicking on the scene, like he is colliding with himself.
when I disable the boxCollider2D or change the layer of the ncp, the npc works normal, but without collision, and the player can pas through it.
I’m using Seeker, AI Lerp, AI Destination, Rigidbody 2D, box collider 2d and the DynamicGridObstacle2D on the NPC, and put a different layer that is used for collision on the AStar Class
Is there a way to make the AI and collision work together without making them flickering?
(the npc is that blue box on the top of the screen)