I'm seeing something that I don't think is the desired behaviour happen when using direct navigation and "Hotspot detection method" set to "Player Vicinity" and "Hotspot in vicinity".
Here's a repro to illustrate:
https://1drv.ms/u/s!Amz_vh8OYDX3vux-QAbvOqKSLj_Opg?e=Fcmfo7
- Play Scene1 - notice (by the Hotspot menu) that Box is the active hotspot
- Walk closer to the Door hotspot (using the arrow keys). While still having the box in the player's vicinity - notice that the box hotspot is still selected (even though the door is now the closer hotspot). The door doesn't get activated until the box is outside the vicinity.
- Set "Hotspot in vicinity" to "Nearest Only" - now the closest hotspot is correctly activated, but hotspot cycling is turned off - I suggest that the closest hotspot should automatically be activated even in "Cycle Multiple" too (like in for example Return to Monkey Island).
Comments
Recreated - though I'm not 100% convinced. To my mind, if you've cycled through some Hotspots, and then move, that same Hotspot should still be selected.
You can replace the Hotspot Detector component with a subclass that handles this, however:
You're right - walking away from a closer hotspot should not select it. After some further studying, here's a short clip that shows how Monkey Island make this feels so natural:
https://1drv.ms/v/s!Amz_vh8OYDX3vu0bHaMaiTiM8J6Ahw?e=rdoyf9
I (and I bet a lot of folks) would love for AC's vicinity selection to support this
With ACs new support for staying within the navmesh during direct movement, what I describe above seems like a great addition. Do you think it's something AC will support?
Thanks
Please bear with me - I will post an alternative to the above soon.
And congrats on the new release 👍
Try this alternative subclass - is this closer to the behaviour?
That's certainly a lot closer!
This video shows two points that differ from how Monkey Island do it tho:
https://1drv.ms/v/s!Amz_vh8OYDX3vu1IPhjDqy42fpav-A?e=uGbSol
I would like to bring up this subject. @kloot can you share a template for detecting hotspots in your scene that you show as an example above?
I would if I could, unfortunately I gave up on that and no longer have the test project on disk.