Game Development Community

Modify Racer Camera View ?

by Euan Gamble · in Torque Game Engine · 05/31/2005 (4:29 pm) · 4 replies

Not all that long ago I found a simple tutorial on how to change the external camera view for the racer demo. It basically outlined how to set camera delay and angle behind the car.
But now I cant find it. Does anyone know any references for this sort of info?

I am still just playing around a bit and would like to adjust the camera in external view basically. And I would like to use script if there are some simple tips on the camera.cs file?

Thanks,
Euan

#1
05/31/2005 (6:25 pm)
In the Car datablock of the corresponding *.cs file:

cameraRoll = false;         // Roll the camera with the vehicle
   cameraMaxDist = 10;         // Far distance from vehicle
   cameraOffset = 1.5;        // Vertical offset from camera mount point
   cameraLag = 0.5;           // Velocity lag of camera
   cameraDecay = 0.75;        // Decay per second rate of velocity lag
#2
05/31/2005 (7:07 pm)
Ah! thats what I was looking for! Thanks for your help Chris!

I know it sounded like a stupid question. But I just couldnt find it!
#3
05/31/2005 (8:28 pm)
Hey is it possible to rotate the view of that camera so it is looking down on top of the car?
#4
06/01/2005 (3:59 pm)
Maybe by increasing the cameraOffset value? (Will it stay focused on the car, or does it just make the camera go further up?)