I am trying to add climbing using motion controllers in VR. I tried finding some guides on how but all of them had to do with creating a component on an actor with the sole purpose of climbing, whereas I want to be able to climb on all actors.
My idea on how to accomplish the start of climbing is to make a small sphere collision around each motion controller, not much bigger than the controller. When the player presses an input, it will search for the closest object to the controller in the sphere collision and the controller will latch onto where the hit is so the player can pull themself up, like climbing a ladder.
The problem being, I don’t know how to code this. Attached is a screenshot of my current idea as to how to execute this. Any help would be greatly appreciated.
