1. Open a new 3D scene called Animation.
2. Add and Customize Terrain:
3. Add Standard Assets folder from Asset Store.
4. Add the "Car"
Standard Assets > Vehicles> Car > Prefabs
5. Link the car to the main camera with the "Follow Target" Script.
Type follow in the search to locate!
Drag to the main camera.
Change the "Target" to the "Car."
Set distance 0, 2, -5 (0r customize).
Drag to the main camera.
Change the "Target" to the "Car."
Set distance 0, 2, -5 (0r customize).
6. Test that you follow the car driving!
7. Build a track!
Do not loop to go backwards- camera will not follow correctly.
Keep it straight. Add an end and a finish!
Keep it straight. Add an end and a finish!
8. Add Obstacles!
Add at least 10 obstacles on your course!
Make sure you give them a Rigidbody and Box Collider.
The collider can be edited by clicking the Edit Collider Icon next to the text in the inspector. Drag the Green Dots!
Test that the object moves when you car makes contact!
The collider can be edited by clicking the Edit Collider Icon next to the text in the inspector. Drag the Green Dots!
Test that the object moves when you car makes contact!
10. Animate!
Choose an object and go to Window>Animation> Animation
Create- then name your animation.
Right click on timeline to add new frame.
Move the white bar to the new frame. Move, resize, or scale your object on the screen.
Repeat as needed!
Click play on Animation menu to preview!
Move the white bar to the new frame. Move, resize, or scale your object on the screen.
Repeat as needed!
Click play on Animation menu to preview!