Radar & Radar Element Components
Last updated
Was this helpful?
Last updated
Was this helpful?
The AC_RadarManager is a component responsible for managing the Radar/Compass UI in the framework. It tracks cardinal directions, player orientation, and important tracked elements dynamically. The system updates based on camera movement, ensuring efficient and optimized performance.
It is added to the PlayerController class by default (PC_SoulslikeFramework).
Initialization
The Initialize
function sets up all necessary properties such as the UI element, provided cardinal entries & the player icon.
Interval Based Updates & Optimization
The Update Timer is controlled by SetupUpdateTimer()
, which pauses updates when necessary.
Tracked Elements (RefreshTrackedElements()
)
Dynamically updates tracked icons (e.g., quest markers).
Uses TrackedComponents[]
to store active elements.
Icons clamp at a fixed radar range, preventing off-screen distortion.