1 Reply Latest reply on Jun 26, 2006 10:01 AM by juroo

    avoiding obstacles

      Im trying to develop a game where you walk in a 2D environment with different obstacles. I came up with a script to make the character move from one position to another by a simple click on the game field and stop if it hits an obstacle. I have one problem, I cant figure out how to make the character know how to walk around the obstacle.

      Could you help me to come up with a way to calculate the path for the character to move in before it starts moving? Any tutorials or code samples would be of great help.

      Great thanks, Max