Smooths the movement of actors that move in fixedUpdate.
In fixedUpdate the system saves the local transform of every actor with an
Interpolation component. In update it blends the last two saved states by
Time.alpha. It writes the result to renderX, renderY and renderRotation of the
component. The renderer draws these values instead of the transform.
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