(Created page with "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...") |
|||
Line 1: | Line 1: | ||
+ | {{Template:Infobox | ||
+ | |above=AvatarEffectCameraMovement | ||
+ | |subheader=Component | ||
+ | |image=[[File:Cameramovement.jpg|500px]] | ||
+ | |caption=Component's Inspector | ||
+ | | label1 = Legacy animation clip | ||
+ | | data1 = drag animation here | ||
+ | | label2 = Child name | ||
+ | | data2 = name of camera in FBX | ||
+ | | label3 = Target name | ||
+ | | data3 = Name of the target camera | ||
+ | | label4 = Tweak axis | ||
+ | | data4 = tweaks orientation of the imported FBX in unity | ||
+ | | label5 = Tweak position | ||
+ | | data5 = Teaks position of the imported FBX in unity | ||
+ | | label6 = Ignore Rotation | ||
+ | | data6 = Ignores rotation of FBX | ||
+ | | label7 = Start Time | ||
+ | | data7 = Sets the start of animation | ||
+ | | label8 = End Time | ||
+ | | data8 = Sets the end time of the animation | ||
+ | }} | ||
+ | |||
You can apply animation from an fbx file to the camera using the Avatar Effect Camera Movement Script. | 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. | Click on '''Add Component''' under the Inspector window, and search for '''Camera Follow Path''' in the search bar. | ||
− | |||
− | |||
This component has a few settings: | This component has a few settings: |
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 Legact 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.
|