View on Asset Store (opens in new tab)
Package details
- Latest version
- 2024.12.09
- Last updated
- First released
- Unity version
- 6000.0.27 or later
- Package size
- 296 KB
- Files
- 10
- Favorites
- 5
- Views in the past week
- 5
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $9.99 on
Keywords
Swarm Move With Splines
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.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Swarm Move With Splines video 1
About this asset
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!
From the publisher's Asset Store listing.
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.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.27f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.