Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411423 Posts in 69363 Topics- by 58416 Members - Latest Member: JamesAGreen

April 18, 2024, 12:03:42 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)A* Pathfinding Project Point Graphs in 2D
Pages: [1]
Print
Author Topic: A* Pathfinding Project Point Graphs in 2D  (Read 849 times)
Gamedragon
Guest
« on: January 12, 2015, 11:10:06 PM »

Like the title says. I'm implementing an A* AI, using Point Graphs, in my Unity2D game with the A* Pathfinding Project by Aron Granberg and am having some trouble with getting it to work. As far as I can tell it has been set up correctly, however it doesn't seem to be working properly the best way to show this would be with a GIF, so here's one:


This is what happens


This is how I configured the Graph.


And this is how I configured the Enemy.

What have I done wrong and how can I fix it?
Logged
Gamedragon
Guest
« Reply #1 on: January 13, 2015, 11:21:45 PM »

Okay, so I changed the Turning Speed in the AI Path script to zero and that stops the enemy from rotating weirdly but it now shrinks while moving and it still only moves on the X axis. So, does anyone have any ideas?
Logged
Gamedragon
Guest
« Reply #2 on: January 14, 2015, 04:20:26 PM »

Don't worry guys, I solved this using the script found here: https://github.com/fgladisch/ai-path-2d
Logged
LStro
Level 0
**



View Profile
« Reply #3 on: January 22, 2015, 12:45:58 PM »

I was just about to reply when I saw that you solved the issue. What was the problem, I'm using A* for my bomber man inspired mobile game.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic