Ladder Mechanic - Modifying VR Hands


So for this I had to modify 3 functions in the blueprint of the motion controller. The first one being the Get Actor Near Hand for this I replaced this part

To this:

All this does is check to see if you are a derived actor of Cube Grab and if true carry on as is.

Next I did some modifications to the Grab Actor


This checks if climbing is True if yes, I cast to the Pawn to get a reference of the motion controllers by also using get Owner and then I set the climbing hand to be self which in turn only allows one hand to climb at once as  it should switch.

Lastly, I modified the release actor to reset the is climbing variable when released by making it false.

Leave a comment

Log in with itch.io to leave a comment.