- Home /
A* pathfinding with imported models
I'm creating a basic FPS game (for now) and the main aspect I'm focusing on at the moment is enemy AI. I have tried to use A* path finding, but i cannot seem to get it to work on 3D models that i have imported. How can i make the path finding go through my 3D models and not over them?
In this image it shows the path finding going around and over the plane. How can i make it go through the plane and other models that I import?
How are you generating that navigation mesh? It seems as through it only supports one single level, not multiple levels as you want it to be.
Im just adding the A* script to an empty gameObject then adding a grid graph and positioning it so it covers my map
A* is an algorithm for pathfinding. There is no "A* script". How are you generating the grid?
I added the component "A star Path" and from there i make the grid graph
And where did this component come from? Again, I need context in order to answer the question. Did you make the A* grid generation? If not where did you get it from?
Your answer
Follow this Question
Related Questions
Can Unity support high end rendering of imported 3D models and keep lighting and textures? 1 Answer
Render Camera View Help :( 1 Answer
MAX To FBX Without Unity Project Data Loss 0 Answers
I downloaded 3D models and there all grey? 1 Answer
Strange Maya to Unity Import Issue (bones resizing?) Please help! 0 Answers