Hi guys,
I’m trying to get this door working and I managed to get 50% of what I want.
I’m trying to get a drag and swipe to open a sliding door. I used the switch from the user content example as template.
I made it work only when you are in one side of the door:
- You swipe right and the door opens
(play animation) - You swipe left and the door closes (reverse animation)
When I’m in the other side of the door I want to invert that action: because otherwise It doesn’t feel natural to swipe the oposite side to open the door.
I’m trying the Grab Interact Interface to detect the position of the player relative to the handle so I can invert the control with a branch or something. But I can’t manage. Can anybody help me to solve it?
Thanks in Advance.
J.