Game Development Community

Free camera

by Marcin Zygmunt · in Torque Game Engine · 05/13/2005 (5:16 am) · 2 replies

I'm playing with camera for some time, I managed to make good 3'rd person view, but I also need free camera. What is the easiest way, to unhook the camera from the player, move to to the position i.e. "20 30 40" and make if look on "0 1 2"? Is there any resource for that?

#1
05/13/2005 (6:00 am)
If you take a look at the racing starter kit, example/starter.racing/, there is a good example of something similiar, giving the player control of a floating camera. The example is in

in the example/starter.racing/server/scripts/game.cs, function GameConnection::onClientEnterGame

You should find some good examples of giving the player control of a camera, and giving it some paramaters.
#2
05/13/2005 (6:05 am)
The Advanced camera resource may have a camera to do what you are looking for. If not it will show you how to make your own (though I found the GodView camera resource more helpful for learning)