I've seen Acid Bubble's script for binding triggers to keyboard keys. And I understand that VR controller buttons can be bound to actions, but not triggers. Has anyone thought of a novel way to activate triggers besides collision, logic, or UI button?
For sake of argument, let's say I wanted to create a "sperm gun" that can be held by the player and activated by controller button press. My initial thought was to parent a UI button to the "gun" in such a way that it sits directly in front of the VR controller's "laser" so that a button press would activate the button. But I'm not sure that's possible since the "laser" would disappear once grab is activated. I'm sure there is an easier way to accomplish what I'm trying to do.
For sake of argument, let's say I wanted to create a "sperm gun" that can be held by the player and activated by controller button press. My initial thought was to parent a UI button to the "gun" in such a way that it sits directly in front of the VR controller's "laser" so that a button press would activate the button. But I'm not sure that's possible since the "laser" would disappear once grab is activated. I'm sure there is an easier way to accomplish what I'm trying to do.