- Home /
Question about Astar pathfinding
Hey guys I am just working on a project at the moment for Uni and I am using AstarPathfinding I have made a tower defence and I want to be able to "maze" the enemy ground units although if you attempt to maze they obviously just go out of the turret "building" area and walk straight towards the base the screen shot is an example of my issue how would I make them stay within the boundaries
Thanks guys
sorry I fixxed it feel like a fool thanks anyway will delete is question if i can work out how
Answer by Eclipsed · Aug 08, 2013 at 11:06 AM
I guess that you should build your "AstarPathfinding" graph so that it doesn't include the area the tanks in the picture are using.
I feel like an idiot dont worry worked it out very sorry for the waste of time
Your answer
Follow this Question
Related Questions
Is using NavMesh for tower defense performant? 0 Answers
Need help with a spawning system similar to Fieldrunners 2 Tower defense. 0 Answers
Pathfinding and AI for an RTS game 3 Answers
What's the best way to keep an object from falling off of something? 1 Answer
A* Pathfinding- A moving target 1 Answer