Game Development Community

Realistic Turn

by Temasek Polytechnic · in Torque Game Engine · 09/19/2006 (1:31 am) · 4 replies

Ok.

I want my AIPlayer to turn more naturally. Currently, the AIPlayer faces one direction. When i program it to walk in another direction(using setMoveDestination), it will just "flip" towards that direction and walk. Is there a way to make the turn more realistic looking?

#1
09/19/2006 (3:49 am)
You didnt bother to search as usual so I'm doing it for you this time.

Searching for AIPlayer turn gives you Improving the AIPlayer turning movement
as the first result.

You can get your questions answered alot faster by actually using the resources available to you.

Have fun.
#2
09/19/2006 (4:44 am)
Oh i forgot to say..."without changing the c++"

I obviously searched...i'm not that dumb

But i didn't get anything useful...

I don't want to touch the c++ cause mine can't compile somehow, so i'm looking for a way to do it with script instead..
#3
09/19/2006 (6:03 am)
You could do a complex series of setMoveDestination() calls to make the AiPlayer walk in a mini path to simulate turning. But it'll probably not look as good a doing some trivial C++ changes.
#4
09/19/2006 (6:17 am)
Indeed, that will both look bad and with alot of AIPlayers it will slow down the game.
If you cant go into C++ and implement a resource, then you are severely limited.

But good luck!