Skip to main content

Interface: UiWorldSpaceFollowEcsComponent

Defined in: ui/components/ui-world-space-follow-component.ts:11

ECS-style component interface for a world-space UI canvas that tracks another entity's world position every frame, without inheriting its rotation or scale - the diegetic-UI case (a health bar, nameplate, or floating indicator that should stay upright above whatever it labels, regardless of which way that entity is facing).

Properties​

target​

target: number

Defined in: ui/components/ui-world-space-follow-component.ts:13

The entity whose PositionEcsComponent.world this entity's own position tracks every frame.