Skip to content

Movement

I've included a few movement utilities here for the samples, and this asset is really meant to just be pathfinding so I went light here. But if you need more reach out!

DiscreteMovementComponent
This has various methods to move along a generated path with durations, delays, and interpolation curves.

The most tricky part is rotation lerping, here we are using the grid up axis to drive a reference frame. There is a helper button "EditorTestAlignment" to check your inspector properties are correct.

Utilities

AnimationUtils
This includes Coroutine action interpolators for things like transform position using curves and interpolation durations.

I've included tons of curves: you can find more at easings.net. DotTween is a common alternative for things like this too.