Changes between Version 1 and Version 2 of VehiclePhysicsTutorial
- Timestamp:
- 2011-12-05 10:39:08 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VehiclePhysicsTutorial
v1 v2 36 36 #### 5. Configure the scripts 37 37 38 - Add each user-controlable vehicle to the list _Main > Car Input > Cars_.39 - _Main > Car Input > MainCamera_ must point to the MainCamera game object.40 - _MainCamera > CameraControl > Mirror..._ references must point to the _Mirror..._ game objects located as children of Main.41 - _MainCamera > CameraControl > MapCamera_ must point to the MapCamera gameobject (if added at step 3).38 - Add each user-controlable vehicle to the list _Main > CarMain script > Cars_. 39 - _Main > CarMain script > MainCamera_ must point to the MainCamera game object. 40 - _MainCamera > CameraControl script > Mirror..._ references must point to the _Mirror..._ game objects located as children of Main. 41 - _MainCamera > CameraControl script > MapCamera_ must point to the MapCamera gameobject (if added at step 3). 42 42 43 43 #### 6. PLAY! … … 47 47 #### 7. Optional elements 48 48 49 You can add your post-processing image effects to the MainCamera object. If you place a reference to them at _CameraControl > ImageEffects_ then they will be enabled / disabled with F12 (low quality mode).49 You can add your post-processing image effects to the MainCamera object. If you place a reference to them at _CameraControl script > ImageEffects_ then they will be enabled / disabled with F12 (low quality mode). 50 50 51 Same with the main directional light used to project shadows. Reference it at _Main > Car Input > MainLight_ so the shadows will be disabled in the low quaility mode (F12).51 Same with the main directional light used to project shadows. Reference it at _Main > CarMain script > MainLight_ so the shadows will be disabled in the low quaility mode (F12). 52 52 53 Payload: you can reference a rigidbody at _Car Input > 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.53 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. 54 54 55 55