- Home /
[Arongranberg A * Pathfinding Project] How to move units without overlaping of them?
I have a few units that move between the obstacles in place a mouse click. Movement is a simple change of coordinates in go.transform.position. I have these objects "overlap" on each other. In search of solutions found in the official documentation of the demo: http://arongranberg.com/astar/webplayer?p=penalties But did not find where I could download this scene. It would be grateful if someone explained why in the demo bots are following each other, not on each other - without overlaping or would share the link to this or a similar example in which one could see how it works.
Answer by Cherno · Oct 08, 2014 at 08:55 AM
I believe the only way to achieve this is via local avoidance, which got re-implemented in the Pro version with one of the last updates.
As for the demo scene, I don't see how they are following each other. They seem to overlap just as well, but this is limited to certain degree, likely because of colliders/rigidbodies on both objects.
Yes, now I saw that they nalazit each other and in the demo
By the way, folder with the Asset contains the demo scenes, as something is not right I was looking for, but to me they are not really helping
Your answer
![](https://koobas.hobune.stream/wayback/20220613164625im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can i use A* pathfinding on planes? 1 Answer
A* pathfinding - how to put penalty below a character 0 Answers
Splitting scene into nodes for A* 0 Answers
How to calculate distance based on A*? 2 Answers
Move RigidBody with translate 1 Answer