Spline Extensions Documentation

Preview

Documentation is a draft, and is expanded as the package develops.

Spline Extensions
Version: 1.0.0
Review

1.Spline Extensions #

Thank you for testing Spline Extensions!

This asset is developed for Unity 2022.3.21+. Using it with older versions runs the risk of script compile errors. Unity 6.x does not affect this asset and it fully compatible.

Access to the preview package is available by verifying your Spline Mesher or Spline Spawner license on Discord.

Discord Server

What is Spline Extensions?

This asset provides a swiss-army knife of Spline utilities, enhancing the way you can work with Splines. Crafted for professionals, easy to use by anyone.
 
Features many components that create splines, that can be used other scripts/components that use splines.
 
It is an excellent companion to spline-based tools such as Spline Mesher, Spline Spawner, River Modeler or MicroVerse Splines. And any of the native Unity spline components.
 
All tools are non-destructive and function in realtime. Optimized for performance using Burst & Jobs.
 

🛠 Included Components:

  • Attach Transform To SplinePosition anything on a Spline, at a specific distance, percentage or snapped to the nearest transform.
  • Create Spline From ObjectsA no-code solution for creating dynamic Splines, by assigning Transforms to trace.
  • Grid Snapped SplineCreates a Spline that is snapped to a virtual grid.
  • Spline Caps Attaches and aligns a prefab to the start- or end of a Spline
  • Spline Spiral For artistic purposes, a spiraling Spline can be created, with ample controls
  • Spline Looping For use with mesh generation. Creates a procedural looping.
  • Spline Line RendererCopies a Spline curve onto a traditional Line Renderer component
  • Spline RectangleWith rounded corners and specified width/length
  • Spline CircleAdjustable diameter and knot rotation
  • Spline SmoothedCreates a smoothed version of an input Spline
  • Spline Particle EmitterCreate a Spline-surface for a Particle System to spawn on
  • Spline EventsExposes standard Unity events in a UI for when a Spline gets added, removed or is changed. Makes scriptless behaviour, based on Spline editing, possible.
  • Spline ColliderAdds a Box or Tube collider to a Spline with trigger/collision callbacks, support native physics.
 

🚀 Advanced Components:

▪️ Create Parallel Splines
Creates a new set of Splines that run parallel to another one. Useful for spawning side objects along roads or rivers.
▪️ Spline Grid
Creates rows & colums of new splines within an Rectangle or a Spline’s area.
▪️ Spline Curbs
Creates new splines based on the turning strength of anothor Spline, and wether the turn curves inward or outward. Useful to generated guard rails.
▪️ Distorted Spline
Use layers of configurable noise to create a distorted Spline that follows a source spline. Used for meandering rivers or roads.
▪️ Rounded Spline
Copies a Spline, but creates a rounded curve around each knot. Useful for creating pipelines.
▪️ Spline Audio Emitter
Makes an Audio Source follow the camera, whilst restricting it to the Spline’s edge and/or volume. Crucial for some localized soundscapes!
▪️ Spline Segments
Allows the creation of new splines, onto an existing one. Using two transforms to specify the start/end, or a distance value.
▪️ Spline Wires 
Creates wire-shaped splines between Spline knots, with loops and sagging.
 
The demo scene showcases all of these components

⭐️ Editor tools

• Includes an extensive Spline Visualizer component, which displays Spline data as Gizmos in the scene view. Extremely useful for development or debugging spline-based code.
 
• The Paint Spline scene-view tool makes creating new splines a breeze!
 
⚙️ Adds new context menu functions to your Spline Containers:
  • Center Pivot
  • Remove Twists
  • Reverse Flow
  • Flatten Knots (X/Y/Z)
  • Flip (X/Y/Z)
  • Apply Transform
 
🔎 New C# extension functions:
  • Spline.Contains(Vector3 worldPosition)
  • SplineContainer.Flatten()
  • SplineContainer.Flip()
  • SplineContainer.RemoveTwists()
  • SplineContainer.ApplyTransform()
  • SplineContainer.RemoveInvalidSplines()
  • SplineContainer.CalculateTotalBounds()
  • Spline.CalculateBounds()
 
(These functions also have an Editor variant, for custom tools, that supports undo/redo operations)
 

Supports

• Runtime functionality
• Undo/redo operations
 

🚧 Limitations:

• Not designed for 2D level design
    Yes No Suggest edit
    Last updated on December 8, 2025
    1 of 1 users found this section helpful
    If you're familiar with this asset, please consider leaving a review!
    Your support is what makes complementary updates possible!
    Suggest Edit