Outerra forum

User mods, screenshots & videos => Vehicles => Topic started by: jonslynn on May 26, 2014, 02:59:06 am

Title: How do we set up an interior camera placement?
Post by: jonslynn on May 26, 2014, 02:59:06 am
How do we place the position of interior camera for a vehicle.  I can't find any info about it searching here.
Title: Re: How do we set up an interior camera placement?
Post by: ZeosPantera on May 26, 2014, 03:17:14 am
It is in the Vehicles script. X Y and Z cords
Title: Re: How do we set up an interior camera placement?
Post by: PytonPago on May 26, 2014, 06:43:35 am
How do we place the position of interior camera for a vehicle.  I can't find any info about it searching here.

 look at the place, where vehicle weight is defined (normally behind engine specs.) -
Code: [Select]
  return { com:{y:-0.47, z:0.31}, mass:13710, steering:2.0, steering_ecf:60, centering: 2.6, centering_ecf: 20, com: { z:0.1 } };
}

function vehicle_setup() {
    this.set_fps_camera_pos( {x: -0.51,y: 0.51, z: 2.45}); ///////// -- this here !!!
    this.automaticTransmission = false;
    this.clutchMode = ClutchMode.Manual;
Title: Re: How do we set up an interior camera placement?
Post by: jonslynn on May 26, 2014, 07:10:10 am
Thanks,  I see it now.  "function vehicle_setup"