ECS system that updates camera components to follow their target entities.
The camera smoothly interpolates (lerp) toward its target's position, applies zoom, offset, and optional world bounds clamping.
lerp
The ECS world instance.
Canvas 2D rendering context (used for viewport dimensions).
camera
transform
ECS system that updates camera components to follow their target entities.
The camera smoothly interpolates (
lerp) toward its target's position, applies zoom, offset, and optional world bounds clamping.