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?
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?
About the author
#2
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..
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
If you cant go into C++ and implement a resource, then you are severely limited.
But good luck!
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!
Torque Owner Stefan Lundmark
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.