Packages
Animation/Easing Functions
Animate a property using an easing function:
//Instantiate prefab at a given postion
var sphere = SpherePrefab.InstantiateSingle(FirstPosition);
Entity.Scene.Entities.Add(sphere);
Script.AddOverTimeAction((progress) =>
{
sphere.Transform.Position = MathUtilEx.Interpolate(startPosition, endPosition, progress,EasingFunction.ElasticEaseOut);
}, TimeSpan.FromSeconds(2));