dacha
    Preparing search index...

    Class Interpolator

    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.

    The system registers InterpolatorAPI in world.systemApi.

    Put Interpolator after every system that moves actors in fixedUpdate, and before Renderer. For the built-in systems, that means after PhysicsSystem, CharacterController and BehaviorSystem.

    Hierarchy (View Summary)

    Index
    systemName: string

    The name the configuration uses for the system.

    DefineSystem sets it, so a game usually does not assign it.