Game Development Community

Camera following client

by Ian Omroth Hardingham · in Torque Game Engine · 11/20/2002 (7:56 am) · 2 replies

Hi,

I want to have the camera's velocity completely tied in to a players, but with the offset from the player of the camera and the direction facing to be controlled by my script. Is there a relativly simple way of doing this?

Thanks,
Ian

#1
11/21/2002 (5:16 pm)
There should be an "orbit" command in camera.cs that should help. I'm not sure exactly, but that's where I'd look.
#2
11/21/2002 (5:43 pm)
Ian, not sure if it'll be of much help to you, but check out my camera control functions here: http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=8012

I might be able to help you a bit, since I'm looking into the camera lot... you can find me in the GG IRC or you can get in touch with me on AIM at Ranma4243 or ICQ at 150948872.

Hope that helps,
Jeff