m (spelling correction) |
|||
Line 31: | Line 31: | ||
*Legacy Animation Clip | *Legacy Animation Clip | ||
− | Drag the fbx file containing your animation into the | + | Drag the fbx file containing your animation into the Legacy Animation Clip field. See below for FBX settings. |
*Child name | *Child name |
You can apply animation from an fbx file to the camera using the Avatar Effect Camera Movement Script.
Click on Add Component under the Inspector window, and search for Camera Follow Path in the search bar.
This component has a few settings:
Drag the fbx file containing your animation into the Legacy Animation Clip field. See below for FBX settings.
The name of the camera in your FBX file
The name of the camera target in your FBX file
Unity's orientation is;
Y+ = Up
Z+ = Forward
If your files export from your animation editor with a different orientation you can align to achieve your desired orientation using the Tweak Axis fields.
Use these if you want to make universaal adjustments the animation in the editor.
Set the end time to the same as your animation file.
|