Does anyone know why in this simple pathfinding demo the black square crosses over the ends of the red object when trying to move around it?
Does pathfinding not use the objects collision polygon?
You can use physic object for movement and use pathfindig for finding path
search for generals war in google play I did this in my game
like this :
1 find path
2 get first node
3 move to node with physic
4 on close to node get another node and do 1 to 4
5 every x sec find path again( for some times if object pushed away from node)
but you can use flowfield algorithm insted of pathfinding behavior if you want a better solution but its harder to be done !