How to trigger volumes with widgets?
I am trying to figure this out. So I begin overlap with a point light followed by a trigger volume so when I walk into that trigger volume it shows up a widget that says "Press "F" to start toggle" and then you press F and it turns off the point light. I got this far. But the problem is, is that I can be outside of that trigger volume and still press F to toggle I want to be inside that trigger volume for the effect to work. How would I go about doing this?
Check if you're overlapping the trigger volume when pressing F.
Am I right to assume this will get more complicated since you'll most likely want to do more with the F key later on, rather than just turning lights on/off?
Have a look a this.
Create an Action Mapping in your Project Settings -> Input I set my to P and named it InteractUse
PS. On Component End Overlap (Box) New Visibility should not be ticked. In case you have added text.
Made a quick video to show the end result:
Hope it helps.
Follow this question
Once you sign in you will be able to subscribe for any updates here