Moving the player/client along a path
by DMT · in Torque 3D Beginner · 07/30/2010 (6:56 pm) · 3 replies
Hi!
I am trying to take control away from the user and move their avatar along a path. I simply want to place them somewhere else mid game. This is possible in the AI class but not the player class, as I found out. I would even settle for being able to set their transform in some way.
Any ideas?
Thanks.
I am trying to take control away from the user and move their avatar along a path. I simply want to place them somewhere else mid game. This is possible in the AI class but not the player class, as I found out. I would even settle for being able to set their transform in some way.
Any ideas?
Thanks.
About the author
#2
07/30/2010 (7:44 pm)
Thanks for the idea, I will look into it. I will have to figure what I lose as a result of switching to AIplayer over player.
#3
08/06/2010 (4:46 am)
Quote:what I lose as a result of switching to AIplayerNothing. AIPlayer is derived from the Player class, with added AI logic. So it can do everything Player can do, and more.
Quote:I simply want to place them somewhere else mid game.But if this is all you need, you could just move the Player there directly with setTransform. setPosition would be great for this if it existed, which is a curious oversight (at least in TGE, as far as I remember) :P.
Associate Scott Burns
GG Alumni
That may be a little overkill though depending on what exactly you need them to do.