Add Movement Input Unexpectedly adds rotation to Character Mesh
Hey There! I'm new to Unreal Engine. I'm trying to make a climbing system, I've succeeded in making the character go up and down on a large BSP box.
The problem is: When Going up some of the tower's faces, the character changes his orientation unexpectedly after adding z-axis movement with an AddMovementInput node (The last node). I've debugged the Blueprint, and removing this last node ends up in the character going up the z-axis after jumping, and staying at a fixed location in mid-air, with no orientation change. Since he turns, he falls, because I'm casting a ray to determine if he's still climbing
Here's a screenshot of the Blueprint and of working and failing scenarios on the climbable tower.
Failed Climb on Another Tower's Face:
Climbing is triggered by jumping (hitting space), so what I normally do is I run against the face of the tower pressing w and then press space without letting w go. I tried just pressing space, and he starts climbing anda doesn't turn. He jsut turns when I hit the W key
What happens if you add an isClimbing branch between you InputAxis MoveRight and its AddMovementInput node? Maybe it's turning because of that and we can stop it when climbing.
answered Jul 17 '18 at 05:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here