Hello everyone. Very new here. I am looking for a way to script a random movement. Here is what I am looking for. I have a maze and my bad guy needs to move freely about the maze. When it reaches a wall I want it to turn randomly in another direction. When I thought I had it I got stuck in a corner. Can anyone help me with this?
When my good guy reaches a coin it sends the bad guy back to his starting position.
I got this to work. But I can't get my bad guy to move the way I want him to do to random twists and turns. I don't want his movements to become the same exact every time played. If this makes sense.