Skip to content

Shealynntate/Unity_Splines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Splines

Creates bezier spline curves directly in Unity using a GUI interface that mimics the Adobe pen tool. You can also import SVG files and the program with convert the path into Unity splines.

By simply adding an animation script to a GameObject and selecting the spline, the object will animate along the curve.

Spline Demo

Usage


To animate a GameObject, simply add the SplineAnimation.cs script to the object and add the spline to the public field in the inspector. You can then set the move speed and whether or not you want the object to orient itself along the path.
By attaching a particle system to the object, you can create arbitrary particle trails.

Disney


Using the *Spline Editor* Menu you can use any SVG file that's imported into your project.

Spline Editor Demo 1 Spline Editor Demo 2

Here are a few more examples of paths imported from SVG files. GNU Floral Design

Note


This project is a work in progress. Some svg commands aren't yet implemented and the Spline Editor Window feature set is minimal at the moment.

About

Creates animation spline curves in Unity. Can also import SVG files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages