UCCompassComponent

Overview

3D compass widget that tracks activated actors on screen. Shows direction, distance and alpha-based closest indicator. Hides in top-view perspective.

Properties & Methods

Name Description
compassWidgetClass Widget class from coordinator (W_COMPASS)
dataMap Map of advIdx to mainTag for tracked actors
init Populates dataMap from actormaker, binds to actor and perspective events
proceedWithTick Each tick: projects actor positions to screen, computes alpha, sends data to widget
onActorEvent Adds/removes actors from tracking based on status
onPerspectiveTypeChange Hides compass in TOP_VIEW, shows in FIRT_VIEW
// Automatically managed by UCInitializerComponent lifecycle
// Tracks all activated actors that have character metadata
// Sends per-actor data to the compass widget each tick:
// position, distance, alpha, z-order, visibility