Game Development Community

Player on a track?

by Jeff Murray · in Technical Issues · 02/07/2007 (10:44 am) · 2 replies

Hi guys!

Something I thought was going to be easy is proving to be a little bit of a pain.

I was hoping to be able to somehow tap into the AIPlayer code and use it for the main player, but I just ended up getting messed up.

Essentially, what I want to do is have a player on a track ... like a ghost train ride or something, where the player moves along a path (looping around and around) but has the ability to look around using the mouse and shoot stuff.

I tried initializing the player as an ai player, but I'm guessing that the movement code for a 'control object' player overrides the automated AI player code??

Anyone tried to do this, or got any ideas on the easiest way of going about this?

Thanks in advance!
Jeff M.

#1
02/07/2007 (10:55 am)
Ramen's platform resource. How about mounting the player to it and then moving the platform? Using that resource should stop any collision box update issues that have been seen in previous platform mounting problems.
#2
02/07/2007 (10:57 am)
Excellent idea :) thanks, David.

Just for the record, though, would this be possible through Torquescript only or is it something that really *needs* an engine mod?