- Home /
Best Mesh designing or waypoints
Well, I have an simple pathfinder script already done by myself and it works, the thing is that now I am confused and dont know which kind of mesh designing for the pathfinding would work better. I don't know if the waypoints are better option that a mesh, and also if waypoints are better(I am sure they are)I want it to do it in runtime, and be able for changes on the map, like a new wall, so one idea is make the waypoints using the walls corners, other is doing a base(floor) that doesn't goes through walls, or if someone has a better way...So please someone, based in experience or knowledge answer me Thanks for your time
it's a very general question but for runtime-generated situations I use waypoints.
I don't know if 'one person's opinion" really helps but there it is !
Im a bit confused here, are you say that you have a mesh as the path? I would much rather use points in space(infinitely small, easy to move around). If you construct a wall, maybe have each waypoint check if they are within x distance for any collision(the new wall possibly?? raycast outward in maybe 4 or 8 directions of a circle) if so move that point n distance in r direction(opp the normal, as an idea).
oh, thanks fattie for the clarification..not my area of expertise, ill let you do the talking :P
screw pro, I think you're better to write your own!
i always have bad feelings towards the stuff Unity gives, I can't get with the terrain, etc! heh
Your answer
Follow this Question
Related Questions
Pathfinding over a dynamically deforming mesh 0 Answers
Incredibly high speed tweening/enemy movement 0 Answers
A few questions about the Navigation Mesh stuff 0 Answers
Enemy go haywire after player approaching it, how to properly implement waypoint and chase player. 1 Answer
Pathfinding sometimes takes wrong path 2 Answers