Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Behavior AI
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/2
This package lets large groups of game objects follow a Spline while interacting with Unity's physics engine, supporting collisions, and providing customizable movement with a built-in PID controller.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.27f1
Compatible
Compatible
Compatible
Description

Swarm Move With Splines allows you to make a swarm or large group of

game objects move along a spline. Spline Animate is the Unity provided

solution for this but it does not allow for interaction with the physics engine

and it forces game objects to be positioned exactly along the spline.

What if you want something a little more flexible? Maybe you want 100

chickens or birds or fish or soldiers following a predetermined spline path

and you want them all to collide with each other. This is the problem I

encountered before developing this asset and it is the problem this asset

solves!


Swarm Move With Splines allows for single traversal, looping traversal

and boomerang traversal all while allowing the physics engine to handle collisions

and all the regular physics goodies through the usual rigidbody and

collider components. It also provides a built-in PID controller that allows

you to precisely tune the behaviour of your game objects.


If you’ve been frustrated at Spline Animate, I hope this asset package

helps solve your frustrations!

Technical details

This package contains a single script that has all the logic you will need to control your game object's travesal along a Unity Spline. The "stickiness" to the path is regulated by a PID controller that you must tune yourself. Be sure to read the Tuning section of the manual provided with the package for a more indepth look at how to tune the PID controller. A sample scene is also provided that highlights different ways to use the script. 

Swarm Move With Splines

(not enough ratings)
5 users have favourite this asset
(5)
$9.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR