Hello, I am doing some prototyping and I've noticed an issue with Arrow Prompts and enabling/disabling hotspots.
My current setup is simple, I press on a hotspot, it changes a camera (zooms in on a part of the mesh), and when I change the camera in enables a hotspot closer to the mesh as well as an arrow prompt that allows the player to return to the overtop view.
This works fine when I am not enabling/disabling hotspots, I click the arrow prompt, it goes away and I return to view.
But when the action list includes enabling a hotspot the Arrow Prompt remains in view and I have to click it again to remove it.
Also I'm sorry for linking but it wouldn't embed my images for some reason.
Close Up Image With New Hotspot enabled
Return to overhead Image With Arrow Prompt Still There
This is all the code there is to return to original camera view.
I have another hotspot that just zooms in on a section of the mesh and there are not hotspots being enabled. When I return to the overhead view the down arrow is gone and functions normally.
If this isn't a bug please let me know where I am going wrong! Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Oh, one thing to mention is I added the Send Message Action in an attempt to make sure the arrow prompt is off. However, the other above mentioned section that did not include enabling a hotspot I did not add this action and it worked fine.
Welcome to the community, @LF3D.
Thanks for the details. I suspect this is a case of the Hotspot and Arrow Prompt overlapping.
While testing based on your details, I have found that if the two overlap, then both will run when clicked.
What's your AC version? If you open up AC's PlayerInput script, you can fix this behaviour by locating the following code block around line 1227:
And replacing with:
Does that resolve the issue?
Hello @ChrisIceBox ! Thank you for the welcome and for creating such a beautiful tool! Apologies for the delay in response.
And by god that did the trick. I figured that it had to do with the overlap I just had no clue how to effectively handle it. Thank you so much!