Camera Path Animator plugin

A. Drag into the Camera Path plugin to create a Path, and add the two scripts "Camera Path" and "Camera Path Animator" to the object.
Note: Speed ​​and Animation Time at the bottom of the "Camera Path Animator" script control the movement speed of the overall Path. You can control the speed of objects moving on the path in two ways: speed and time.
Num1.Camera Path property
  1 .Is Looped is checked, it will be a looping seamless animation.
  2. Interpolation Algorithm path linear mode selection (usually using Hermite mode)
              1. Linear linear
              2. Smooth Step smooth step
              3. Catmull Rom very good Catmull Rom curve
              4. Hermite Hermite curve
               When this mode is selected, Tension (Tension) and Bias (Bias) sliders appear to adjust the degree of curve softening
             5. Bezier Bezier Curve
               When this mode is selected, after adding path points, you need to click Auto Set All Control Points in this mode to automatically set all control points, and then the Bezier effect will appear.
    3. In the Inspector panel, select the "Camera Path" script and click the "Add Path Points" button, the button changes to "Done", at this time, click anywhere on the path in the Scene panel to create a new path at this point. point. again after creating
                 Click the "Done" button and the button changes back to "Add Path Points".
    4. In the Inspector panel, select the "Camera Path" script and click "Add Path Point to End of Path" to add a waypoint at the end of the path.
    5. In the Inspector panel, select the "Camera Path" script and click "Delete Path Points", and the button changes to "Done". At this time, select and click any waypoint on the path in the Scene panel to delete this waypoint.
C. Control Waypoint Properties
   1 .Path points: Path points can be moved, but not rotated.
   2 .Control Points: You can adjust the curvature of the path points through two nodes
    3 .Fov After checking Enabled, you can adjust the change of the Field of View of the
    camera 4 .Speed ​​can control the speed change of the camera between the path points
    5 .Delay wait / delay. When the camera goes to a certain position, how many seconds does it stay?
    6 .Events The events that the camera can perform at a certain point on the path
     Event Type:Call
     Event Target: The object where the script to be executed is located
     Event Call: The name of the method to be executed

  7. If the Orientation Mode property is: Custom, you can adjust the angle of the camera in Orientation.

Num2: Camera Path Animator property
Animate Object: The object to be animated
Note: If you want to see synchronously under Game attempts when debugging path nodes, you need to check Animate Scene Object In Editor, and add 3 points to be adjusted to the corresponding percentage in Normalised Percentage Value.
 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325068855&siteId=291194637