I need help- Finding the direction of a moving obj

Blitz3D Forums/Blitz3D Beginners Area/I need help- Finding the direction of a moving obj

Hey Everybody,

Ok, I have no hair left as I have yanked it all out trying to figure this out, now I am left with my own stupidity.

How can I find the direction of an object? An example would be- I have my charcater walking down a hallway, an object shoots out from a wall from his left.

Now, how do I determine that the object came from his left, then have my character "bump right" as a result from a hit to the left?

Ugh! Any help would be GREATLY appreciated.