heya, frist of check this out:
I just had in mind to create a simple Monopoly movement, hopefully you understand what im trying to say
so here are my questions:
- is it possible to set the pathfinding to only in one direction? so that the object/player only walks forward means he has to go a full round to reach a certain point?
- next one, along this path i just mentioned earlier do im able to set something like a "checkpoint" ? since the route the player is moving on is always the same and doesnt change at all ? my intention was to create a function which just looks something like this moveto(nextcheckpoint.x, nextcheckpoint.y)
that means he checks which one is the nearst checkpoint and moves to it, and the normal movement method should look something like this moveto(Array.At(X),Array.At(Y))
i mean i could do it with couple if-statements but hopefully there is a easier way with the pathfinding method