Curvy Splines
Use the Curvy Splines integration when States or transitions need to create, query, align with, or update a Curvy spline and its control points.
Install the integration
- Download the current Curvy Splines integration from Opsive Downloads.
- Import
StateDesignerCurvy.unitypackage. - Confirm Get Nearest Point appears in the State Palette.
What the integration adds
- Spline nodes: Create Spline, Set Control Points, Get Control Points, Delete Control Points, Get Nearest Point, Get Segment Value, Get Value, Align To Spline, Is Initialized.
Build a first workflow
- Create and initialize a Curvy spline.
- Use Is Initialized before entering the movement State.
- Store the nearest point or segment value in a Shared Variable.
- Use Align To Spline or the project movement owner to produce visible motion.