Jump over obstacles

anonymous_user_3b4bf635
Fri, 09 Mar 2018 22:30:08 +0000
Character & Animation

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.

1 post - 1 participant