User Interface - Vaei/Vigil GitHub Wiki
[!IMPORTANT] This guide provides information for driving your UI elements in relation to focus The needs will vary wildly from project to project, so this focuses on accessing available information
The debug indicators drawn from Vigil Draw Debug Results
uses the Get Angle to Vigil Target
node, and if you enable bLocatorDistance
it will also use Get Distance to Vigil Target
node.
These nodes are available to any FHitResult
produced by Vigil -- and only those.
You can use the NormalizedAngle
and/or NormalizedDistance
to scale or transition your UI. Conceptually, the design includes matching the UI scaling logic to the target selection logic. By default Vigil selects based on angle to target, therefore NormalizedAngle
drives the debug locators by default.
You can tell whether you're updating an enemy, or ally, or interaction based on the FocusTag
and which Focus Channels you defined.