New answers tagged collision-avoidance
0
You just precalculate the path like for example :
if (Input.GetMouseButtonDown(0)) { navAgent.CalculatePath(point,navAgent.path); /*bool*/ pathComplete = false; }
Then out of the box you ask
if(pathComplete == false) {
if(navAgent.path.status == NavMeshPathStatus.PathComplete ||
navAgent.hasPath && navAgent.path.status == NavMeshPathStatus....
Top 50 recent answers are included
Related Tags
collision-avoidance × 55collision-detection × 21
unity × 15
path-finding × 13
ai × 11
steering-behaviors × 9
collision-resolution × 7
c# × 6
2d × 6
physics × 6
rts × 5
algorithm × 4
collision-prediction × 4
xna × 3
navmesh × 3
c++ × 2
libgdx × 2
python × 2
computational-geometry × 2
java × 1
android × 1
3d × 1
game-design × 1
javascript × 1
sprites × 1