{{{ #!Markdown # Tutorial: Complete scene with several user-controllable vehicles #### 1. Create a new scene and prepare the scenery * File > New Scene * GameObject > Create Other > Plane * GameObject > Create Other > Directional light Alternatively you can create a terrain or import a pre-created scenery. * Terrain > Create Terrain * Play a while with the terrain tools (height, texture...) * Leave flat areas for the roads, or you could use the _Road and Path Tool_ (available at the Asset Store) for creating the roads. #### 3. Add the control prefabs to the scene They are located in the folder _EdyVehiclePhysics/Prefabs_. Add them to the root of the hierarchy: * Main * MainCamera * SkidMarks * MapCamera (_optional_) Important: The position and rotation of _Main_ and _SkidMarks_ must be (0,0,0). Scale must be (1,1,1). Otherwise the mirrors and the skidmarks won't be displayed correctly. Also remove the Main Camera object that was included with the empty scene. #### 4. Add vehicles to the scene The cars from the [Live Demo][1] are available at the folder _EdyVehiclePhysics/Prefabs/Vehicles_. You have a prefab _EmptyCar_ as well. This car is fully functional, so you can just place the proper graphics on it. #### 5. Configure the scripts * Add each user-controlable vehicle to the list _Main > CarMain script > Cars_. Ensure that the _Cars_ array contains no empty slots. * _Main > CarMain script > MainCamera_ must point to the MainCamera game object. * _MainCamera > CameraControl script > Mirror..._ references must point to the _Mirror..._ game objects located as children of Main. * _MainCamera > CameraControl script > MapCamera_ must point to the MapCamera gameobject (if added at step 3). #### 6. PLAY! Now everything's ready and working! #### 7. Extras Payload: you can reference a rigidbody at _CarMain script > Payload_ and it will be "lifted" when pressing E. This is an element just for fun in the [Live Demo][1], a kind of heavy box that is originally loaded at the red pickup. [1]: http://www.edy.es/dev/vehicle-physics/live-demo }}}