protected override void Tick(float dt) { base.Tick(dt); timer += dt; Transform trans = spline.GetTransformAtTime(timer, SplineCoordinateSpace.World, false, false); cube.LocalPosition = trans.GetLocation(); }