Tracked Target Overlay
v1.0
Last updated
v1.0
Last updated
Add the Tracked Target Overlay component to any object you'd like to track with the Navigation Bar, Screen Overlay or Edge Overlay.
In the top section you can set specific values for each Tracked Target, including its type. Lower in the Inspector (not seen in screenshot) you can set specific override values.
Once the TrackedTargetOverlay is active in the scene, you can access the icons.
Check the Code Examples page for some...code examples!
This determines which icons are on top. Negative values will be hidden by icons with higher values.
This will offset the icon from the position of the object it is attached to. In the demo scene, the berries object has an offset of (0, 1, 0)
so the icon appears 1m above the position of the "Berries" object.
Each Tracked Target will need to specify a Northstar Overlay Settings object to use when overriding values. This should be a different settings object than the one attached to the Northstar Screen Overlay and Navigation Bar.
This Scriptable Object has all the settings for how an icon may appear in the Screen Overlay, Edge Overlay, and Navigation Bar. Each Tracked Target can select which, if any, aspects to override.
You can choose to set custom icons to use for the various systems as well. The Custom Screen Icon will be used for the Screen Overlay, while the Custom Navigation Bar Icon will be used for the Navigation Bar.
Customize Icon Logic
Check the demo scene to see how the Berries utilize a custom prefab for screen overlay, which shows a progress bar as the play collects the pickup.
Check the Demo Goal Target to see how the distance has been added to the icon for the goal target.
You can select a fixed angle for objects when the appear on the Navigation Bar. Generally this is used for Evergreen Objects, such as tick marks and cardinal directions.
If there is a Tracked Target Compass Radar component also on the object, then you can opt to ignore the radar. When true, objects will not fade with the radar ping, and will continue to update their position, regardless of teh Radar settings.
Each Tracked Target can optionally choose to override specific values. Learn more below.
Override Values