wiki.sine.space | sinespace

Difference between revisions of "Components/AvatarEffectCameraMovement"

From wiki.sine.space
Jump to: navigation, search
(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...")
 
 
(2 intermediate revisions by 2 users not shown)
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.  
 
[[File:Cameramovement.jpg]]
 
  
 
This component has a few settings:
 
This component has a few settings:
Line 10: Line 31:
 
*Legacy Animation Clip
 
*Legacy Animation Clip
  
Drag the fbx file containing your animation into the Legact Animation Clip field. See below for FBX settings.
+
Drag the fbx file containing your animation into the Legacy Animation Clip field. See below for FBX settings.
  
 
*Child name
 
*Child name
Line 37: Line 58:
  
 
Set the end time to the same as your animation file.
 
Set the end time to the same as your animation file.
 +
 +
For more info and examples, check [[Gestures/Animated_Cameras|here]].
  
 
{{Component Navbox}}
 
{{Component Navbox}}

Latest revision as of 03:29, 11 January 2019


AvatarEffectCameraMovement
Component
Cameramovement.jpg

Component's Inspector

Legacy animation clip drag animation here
Child name name of camera in FBX
Target name Name of the target camera
Tweak axis tweaks orientation of the imported FBX in unity
Tweak position Teaks position of the imported FBX in unity
Ignore Rotation Ignores rotation of FBX
Start Time Sets the start of animation
End Time 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.

Click on Add Component under the Inspector window, and search for Camera Follow Path in the search bar.

This component has a few settings:


  • Legacy Animation Clip

Drag the fbx file containing your animation into the Legacy Animation Clip field. See below for FBX settings.

  • Child name

The name of the camera in your FBX file

  • Target name

The name of the camera target in your FBX file

  • Tweak Axis

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.

  • Offset / Ignore rotation

Use these if you want to make universaal adjustments the animation in the editor.

  • Start time / End time

Set the end time to the same as your animation file.

For more info and examples, check here.