i have 2 actors, A and B, with an input action on both called Trigger.
on A’s mapping, Trigger is mapped to Left Click and B’s mapping is mapped to Right click.
however, both events get called if i click either of the mouse buttons.
i want to use the same input action but have the events called depending on the mapping.
is this possible?
to help you better : can you define a specific use?
I would say yes, and no ,
i think you need to create 2 different actions, mapped with the same Key
basically, i have a VR character and 2 VR hand actors (same class).
when both hands gets spawned in, the motion source is set to either left or right and the resulting input mapping is added to the subsystem; i have a left and right input mapping context.
i want to use the same grab action and trigger action, as well as the same function bindings for both the left and right hand.
i figured it would call the function on the correct hand because the controllers have left grip and right grip buttons.
Edit:
maybe it would be better to derive the hand class into a left and right hand bp and set the mapping and actions that way.