Although, I will say in my defense that when I started programming the AI I didn't know what kind of project I wanted to do. Only after half the scripting was done did I realize I wanted to do a top-down shooter. ^_^''
Sorry for the long question. Any help would be greatly appreciated.
asked Nov 20 '10 at 03:15 AM
for me is more easy to put on the X and Y axis but if you are doing something like he cant go up or down(to use only the X and Y axis) you can use to all that you have something like this:
or many other several things you can do and for going down or up you only put the gravity(rigidbody). And with this you can use it with several things(using forward or right)or better you can use Vector3.forward or Vector3.right, and for going backwards you use -Vector3.forward and for left use -Vector3.right
answered Nov 20 '10 at 05:03 PM