In my little RPG demo... I'm working on battle system improvements.

The player (if you've seen the video) Is a reasonable distance from the "spider" enemy. I want him to run towards the spider, attack, and run back. Sound simple? Doesn't seem to be...

I used the code found in this thread: C_MOVE THREAD

Now I am unsure why this happens... but the player shoots off into a random direction. And keeps going... I used the same code, line for line... I triple checked.

Does anyone have any other suggestions? Although, I do prefer to not modify the TILT of the entity... And that happens when using the vec_to_angle() function. I just want the player to run towards a target without adjusting his tilt.


darkwhoppy@msn.no.spam.com (remove no.spam.) Website: WhoppyArts