Search Unity

2d A* pathfinding not jumping only flying and not use gravity

Discussion in '2D' started by MianAbdul, May 14, 2017.

?

2D a* pathfinding problems

  1. pathfinding

    0 vote(s)
    0.0%
  2. solid body pathfinding

    2 vote(s)
    100.0%
  1. MianAbdul

    MianAbdul

    Joined:
    Mar 31, 2017
    Posts:
    19
    Here is my problem which is that I want to make my lower cube (enemy) use gravity and mass, and my cube never moves in straight down/Up in y-axis it just looks that cube is jumping down or jumping up on horizontal walls and follow the duck (Player). I am using "A* pathfinding". The image is for just understanding. Instead of using the red path the cube following the green path as shown in the image. I am very thankful in advance for helping me. Capture.PNG Capture.PNG