Game Development Community

Player Movement

by Chaz Hengesbach · in Torque Game Engine Advanced · 07/31/2008 (4:37 pm) · 1 replies

Hello,

I am currently trying to set up a "Ghost Player". I am currently trying to set up this player to move when the client moves his player. So if you move forward the ghost will move forward. If you move right the ghost will move right and so on. I am having some trouble getting the ghost to move with the client controlled player. I think I might need to modify the engine. I have tried a couple of things but so far couldn't get anything to work. Any help would be extremely helpful.

Thank you,
Chaz Hengesbach

#1
08/03/2008 (1:47 am)
It is very easy to create an AI that fluently follows the player, using containers and setMoveDestination.
Read the Thomson's book, chapter AI.