Author Topic: Vehicle Camera  (Read 592 times)

Hello, I'm wondering if it's possible for the driver of my vehicle to have the same perspective in 3rd person as the passengers. Currently, the third person camera is in the center of the vehicle with these settings.
Code: [Select]
// 3rd person camera settings
cameraRoll = true;         // Roll the camera with the vehicle
cameraMaxDist = 0;         // Far distance from vehicle
cameraOffset = 0;        // Vertical offset from camera mount point
cameraLag = 0.0;           // Velocity lag of camera
cameraDecay = 0;        // Decay per sec. rate of velocity lag
cameraTilt = 0;
   collisionTol = 0.2;        // Collision distance tolerance
   contactTol = 0.2;

   useEyePoint = false;
Edit: The camera seems to be in the center of the collision box, it rotates 180 degrees in both directions.
« Last Edit: August 28, 2013, 09:13:15 AM by alex dude »

Up cameraMaxDist. When it's at zero it stays at the origin, because this setting controls the maximum distance from the vehicle the camera can travel.

Up cameraMaxDist. When it's at zero it stays at the origin, because this setting controls the maximum distance from the vehicle the camera can travel.
But wouldn't that just change the distance from the middle of the vehicle? I'm wanting to know if i can change it so it orbits around the player.

Not sure if that is possible, but play around with the values. Try changing useEyePoint to true; I don't know exactly what it does (never messed with it myself), but it sounds promising.

Hmm.. I don't believe this is possible. It's just the way Torque is set up. I'm trying to think of a workaround, but I can't really think of anything. However, by default the game behaves this way when the player sets up keyboard instead of mouse steering. I don't think this can be set by the server, though.

Alright, thank you anyway.