What I've been trying to figure out through the manual for the past few days in how to make a object move away from another object. I have program a script to move the object through clicking, but what I've been unable to achieve is to move it directly away from the object. IE, if you are standing to the left of an object, it shoots forward from your orientation, not it's own.
Currently, I can make it go forward on the X axis, but If I stand in front of it, it doesn't go backwards, it flies towards me.