dacha
    Preparing search index...

    Class Interpolator

    System that produces smooth render-facing transforms for actors moved during fixed updates.

    During fixedUpdate it snapshots the local Transform of every actor with an Interpolation component. During update it blends the last two snapshots using Time.alpha and writes the result into the component's renderX/renderY/renderRotation, which the renderer prefers over the Transform.

    Ordering: place this system AFTER every system that moves transforms in fixed updates (PhysicsSystem, CharacterController, behavior scripts that move actors in fixedUpdate) and BEFORE Renderer in the system configuration.

    Hierarchy (View Summary)

    Index
    systemName: string

    Unique name identifier for the system

    • Called with fixed timestep for physics calculations

      Returns void

    • Called when a scene becomes inactive, but still remains in memory

      Returns void

    • Called when a scene is loaded. Used to load required resources for the system such as images, fonts, etc.

      Parameters

      Returns Promise<void>

    • Called every frame with variable timestep

      Returns void