StaticsystemThe name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
StaticwithLists the system in EngineOptions.systems together with its dependencies: classes and functions from the game code that cannot live in the configuration. The system receives them as the second argument of its constructor.
The dependencies of the system.
A binding to put into EngineOptions.systems.
Smooths the movement of actors that move in
fixedUpdate.In
fixedUpdatethe system saves the local transform of every actor with an Interpolation component. Inupdateit blends the last two saved states byTime.alpha. It writes the result torenderX,renderYandrenderRotationof the component. The renderer draws these values instead of the transform.The system registers InterpolatorAPI in
world.systemApi.Put
Interpolatorafter every system that moves actors infixedUpdate, and before Renderer. For the built-in systems, that means after PhysicsSystem, CharacterController and BehaviorSystem.See
Interpolation