Anyone can tell me what should I do to make my character move randomly within a specifed area?
Thanks!!
Random movement of character within an area??
-
- Posts: 395
- Joined: Fri Apr 08, 2005 8:46 pm
Waypoints and planned walks are a possibility. If you have locations predetermined you can build a data structure that represents a walk around the area a1->a2-a3. Its used for patrolling O'reillys AI for Game Developers covers that and a number of other methods.
I have a working project usng newton where my characters walk an area guided by a bitmap, if you want to look at that.
I have a working project usng newton where my characters walk an area guided by a bitmap, if you want to look at that.