POI Settings

beginner concepts

Compass Navigator Pro 3 · Core Concepts

A Point of Interest (POI) is a CompassProPOI MonoBehavior attached to any GameObject. POIs self-register with the compass system on Start().

Creating POIs

In the Editor

Use GameObject > Create Other > Compass POI to create a new POI GameObject, or add the CompassProPOI component to any existing GameObject.

POI creation menu

Via Script

using CompassNavigatorPro;

GameObject obj = new GameObject("My POI");
obj.transform.position = targetPosition;

CompassProPOI poi = obj.AddComponent<CompassProPOI>();
poi.title = "Quest Marker";
poi.iconNonVisited = mySprite;

POI Inspector Settings

POI Inspector

General

ParameterDescription
IDUnique identifier, required when Don't Destroy On Load is enabled.
IconDefault icon sprite for this POI (used if no visited/discovered icons are set).
RadiusArea-of-interest radius around the POI.
Position OffsetOptional offset added to the POI world position.
Can Be VisitedAllow the POI to be marked as visited when the player reaches it.

Compass Bar

ParameterDescription
Visibility on Compass BarWhen the icon appears: always, when in range, or hidden.
Icon ScaleIcon size on the compass bar.
Clamp PositionPin the icon to the bar edge when the POI is behind the player.
Tint ColorColor tint applied to the icon.
TitleText shown on the compass bar when the icon is visible.
Title VisibilityWhen the title appears.
Visited TextDiscovery text shown when the POI is visited.

Mini-Map

ParameterDescription
Visibility in Mini-MapWhen the icon appears on the mini-map.
Icon ScaleIcon size on the mini-map.
Clamp PositionKeep the icon visible even when the POI is far away.
Show RotationRotate the icon based on the POI orientation.
Rotation Angle OffsetCustom rotation offset for the icon.
Show Circle RadiusDisplay a circular area with custom color around the POI.
Enable Circle AnimationPulse animation for the circle.

Screen Indicators

ParameterDescription
Show On-Screen IndicatorEnable the in-world indicator for this POI (with distance and title options).
Show Off-Screen IndicatorEnable edge-of-screen arrows for this POI.

Other

ParameterDescription
PriorityHigher-priority POIs render above others.
Don't Destroy On LoadPreserve POI state across scene changes.
Beacon Audio ClipSound played when the beacon effect is triggered for this POI.

See also: Custom Art, Scripting Support (C#).

Was this page helpful?