ladder update 3


The next step in making the ladder work was to edit the blueprint of the motion controllers. this was done by editing the "Grab Actor" function of the blueprint. The most important thing was to add a Boolean variable which would tell when the user is climbing. the other thing i needed to ensure is a way in which the program would know what hand is being used to climb as this would then be a reference point the character uses when it is time to add the movement of the character when using the ladder. I achieved this by creating an attached actor variable with the variable type being the ladder rung this variable will is used to determine when the user is grabbing a rung of the ladder, I also needed to reference the motion controller pawn in order for the motion controller pawn to know what hand is being used to climb as well as only allow the user to only use one hand at a tune when climbing.