Skip to main content

Scripts

Movement on a path takes nothing more than a movement script attached to your object. Assign the desired path to the path container of your movement script, play around with its settings until you are satisfied and you’re good to go!

You have the choice between different movement scripts, depending on your app design. They are built on the same base interface, but each one has a few different functions to consider. Choose the movement script that best fits your requirements!

Please have a look at the Scripting Reference for an overview and explanation of all public variables and methods.

splineMove

TopicDescription
ObjectiveLinear or curved movement on standard and bezier paths.
EngineDOTween
ConceptMostly fixed paths played back one or multiple times like animations
RuntimeAny changes on path waypoints require the movement script to be restarted
Use CasesCamera paths, moving platforms, vehicles, background animations, core gameplay, ...
TopicDescription
ObjectiveNavMesh and NavMeshAgent movement for standard paths.
EngineUnity Navigation
ConceptDynamic path movement using Unity's pathfinding system
RuntimeMajor changes on path waypoints require the movement script to be restarted
Use CasesPatrolling AI, chase behavior, pedestrian simulation, ...