Author Topic: Disable POI if too close?  (Read 95 times)

SeymourGutz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Disable POI if too close?
« on: August 01, 2020, 08:28:09 PM »
Is there an easy way to disable POI from the compass bar if the player is too close? 
The reason is because I'd like to attach POIs to findable objects the player can pick up and carry home, but currently while the player is holding a POI rigidbody it overrides all other titles (due to closest distance), basically blinding navigation until dropped.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5953
    • View Profile
Re: Disable POI if too close?
« Reply #1 on: August 02, 2020, 03:37:01 AM »
Each POI script has a "Hide When Visited" checkbox. Would it work for you?
Alternatively, we can add a Visible Min Distance param as well.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5953
    • View Profile
Re: Disable POI if too close?
« Reply #2 on: August 02, 2020, 07:49:42 AM »
Global "Visible Min Distance" and per-POI "Override Visible Min Distance" properties added to latest version.

SeymourGutz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Disable POI if too close?
« Reply #3 on: August 02, 2020, 08:41:10 AM »
Wow, that was fast! Working perfectly now. Much appreciated.