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.


by Alexandru Dumbrava


Price History +

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!