Can we have Proximity Prompt Exclusivity Priority?
For example if multiple prompts are in the same Instance and they all have the same buttons but different Actions. We only want one of them to be visible at a time based on priority.
I have a lot of use case for this specially in our game My Frog Pond. Where we can interact with the frogs in multiple ways using proximity prompts parented to a single frog. Where you can Pickup, Rename, Favorite and much more depending on the context. These prompts are parented & destroyed based on the user’s context eg: holding a Favorite tool to favorite a frog.
I just want these prompts to have a priority property where if this prompt is parented to an instance where it has other prompts as-well then the visibility of the prompt will get determined by its priority.
So even if there’s a (E) to pick up Priority 0 and there’s a (E) to Favorite Priority 1 then the favorite prompt will be shown and not the pick up prompt. And once the pick up prompt is removed then the pick up prompt will be shown next.
Indicators for Proximity Prompts are now LIVE! We can’t wait to see how you incorporate these into your experiences. We made some updates to ensure that the performance of experiences that do not use this feature is unaffected, and otherwise, we are ready to go
Notes on Performance
When indicators are being used (when the MaxIndicatorDistance on a prompt is greater than 0), we estimate a 20% increase in time spent by the engine doing proximity prompt calculations. For example, if 0.5ms a frame is currently spent calculating what prompts to show, with indicators it could be ~0.6ms. If this performance increase impacts your game, simply reset MaxIndicatorDistance to 0.
Currently, the indicators shown for a prompt are not prioritized by the proximity to the object associated with the prompt (this is also for performance reasons). We encourage you to continue sharing your feedback with us as we consider and plan for future improvement to ProximityPrompts and this new feature!