WaypointSystemForTimeline
Possible to complement the track (Bezier curve) on the Timeline.
com.bg.waypointystemfortimeline 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/waypointystemfortimeline.git?path=Assets/Bg/WaypointSystemForTimeline README Markdown
Copy this to your project's README.md
## Installation
Add **WaypointSystemForTimeline** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/waypointystemfortimeline.git?path=Assets%2FBg%2FWaypointSystemForTimeline
```
[](https://www.pkglnk.dev/pkg/waypointystemfortimeline)README
WaypointSystemForTimeline
This package is possible to complement the track (Bezier curve) on the Timeline.

Installation
PackageManager
Install via git url
Open Window/Package Manager, and add package from git URL...
https://github.com/k-okawa/WaypointSystemForTimeline.git?path=Assets/Bg/WaypointSystemForTimeline
Install via OpenUPM
openupm add com.bg.waypointystemfortimeline
How to use

1.Create empty GameObject and add WaypointComponent
2.Set GameObject that need to move to target
If GameObject need to look tangent direction, check IsLookTangent.
3.Edit Waypoints
"+" and "-" button enables adding and removing point.
| PropertyName | Description |
|---|---|
| Position | Position of point |
| BackTangent | Bezier curve control point for back point |
| NextTangent | Bezier curve control point for next point |
| T(0.0~1.0) | value for interpolation. For example with above screen shot, when t is 0.4, interpolate between index1 and index2. |
You can edit property directly or on the scene using the buttons below.
If you press edit button(<-, Position, ->) while the position editing tool is selected, position handle may overlap with the position editing tool of the parent object.
| ButtonName | Description |
|---|---|
| <- | Edit BackTangent position |
| Position | Edit Position |
| -> | Edit NextTangent position |
Also, with the Inspector locked, you can edit the Position by clicking the position of the Point on the Scene.
4.Automatic calculation of interpolated value
You can enter the value of T manually, but if you press "Calculate T Automatically", it will be evenly distributed according to the length of the curve.
5.Timeline Settings
5-1.Create Track
5-2.Set WaypointComponent to track reference
5-3.Create clip
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In