dim3 Forum

Full Version: AI moving backwards
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to make AI walk backwards from an object? Like walking to an object but backwards.
Not sure. You mean like a soldier retreating while firing at the enemy? Something like that?
I don't think that it's possible, but you could fake it by creating an animation for the backwards motion and then turning it 180°. Now you just make the enemy walk away. (Get angle to player, add 180°, turn to that angle, then start walking)
Not sure if that would work though.
Bink Wrote:Not sure. You mean like a soldier retreating while firing at the enemy? Something like that?

Yes, but the AI should be able to fire at the enemy while retreating.
I think setting the speed negative will do this, can't remember but I think it works. Smile
[EDIT]That would be the easiest way, but there are many ways you could do it.
ex: rotate model 180 rotate animation 180 fire angle 180 motionvector.go
ccccc Wrote:I think setting the speed negative will do this, can't remember but I think it works. Smile

That doesn't work for some strange reason! The object still moves to another object.
Reference URL's