Jump over obstacles
I've been looking around for a while and after following many tutorials the only thing I got is that you have to create a Montage with the Jumping animation setting the RootMotion. You can also combine this technique to the MoveComponent in order to make the character go on. It's exactly what I did, but I got a problem: despite my character is able to surpass the obstacle the animation montage doesn't play. So it's like a ghost that goes through the obstacle. Here the blueprint:
I check the existence of the obstacle with a trigger box and and arrow to determine where to jump next, as shown in the pic. Then I set a simple boolean variable based on the overlapping.
I have no idea where the problem is, or if this approach is wrong. I've been struggling for a week on this, so I decided to ask help here. What do you suggest? Thank you very much.
Follow this question
Once you sign in you will be able to subscribe for any updates here