I need help with my pacman-type game and I made a script so that the senser sees which direction is closer to the target and keep going in that direction until it hits a wall or sees an opening, but instead, this happens
Link 1
Link 2
Can anyone help please
And if you want to help even more with this game enter this contest
If anyone can help, thanks in advance
Offline
bump
please help
Offline
bump???? please??? anyone????
Offline
I'm not on my desktop right now so I can't help you per se, but the effect you want to achieve is called "pathfinding". I suggest either looking at some tutorials on how to acievit or get more experience with programming before tackling that sort of thing; pathfinding can be very complex depending on the situation. However, don't make me get you down on it, it is achievable if you are willing to take your time!
Offline