Called with fixed timestep for physics calculations
Called when a scene is destroyed
Called when a scene becomes active
Called when a scene becomes inactive, but still remains in memory
OptionalonCalled when a scene is loaded. Used to load required resources for the system such as images, fonts, etc.
Called every frame with variable timestep
System that produces smooth render-facing transforms for actors moved during fixed updates.
During
fixedUpdateit snapshots the local Transform of every actor with an Interpolation component. Duringupdateit blends the last two snapshots usingTime.alphaand writes the result into the component'srenderX/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 infixedUpdate) and BEFORERendererin the system configuration.