Skip to content

Add facing-direction arrow to radar UI#254

Open
Grom1halo wants to merge 1 commit into
Forge-Station:mainfrom
Grom1halo:radar-facing-arrow
Open

Add facing-direction arrow to radar UI#254
Grom1halo wants to merge 1 commit into
Forge-Station:mainfrom
Grom1halo:radar-facing-arrow

Conversation

@Grom1halo

Copy link
Copy Markdown

Summary

  • Adds a small yellow arrow on the radar UI showing which direction the controlling entity is currently facing, drawn from the "you are here" marker.
  • Only shown for radars with FollowEntity: true (e.g. the handheld mass scanner), keeping the existing north-up/static radar behavior unchanged.
  • Makes DrawArrowLine reusable from BaseShuttleControl for this purpose.

Test plan

  • Equip the handheld mass scanner and open its UI.
  • Confirm the radar map stays static/north-up.
  • Confirm a yellow arrow points in the direction the character is facing and rotates as the character turns.

The handheld mass scanner's radar stays north-up (no rotation), which
made it hard to tell which way the character is currently facing.
Draws a small arrow from the "you are here" marker pointing in the
direction the controlling entity faces, for radars with FollowEntity
set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant