Download

Can you make a hit event only work on Horizontal surfaces?

I’ve been working on a physical platformer built off of the ball template. I scrapped and replaced most of the blueprint but i haven’t figured out a better solution for on hit setting the “can jump?” boolean. it would work well, but if my character hits a vertical surface its jump is restored repeatedly and you start climbing up walls.

thanks for taking the time to read this, cheers! :slight_smile:

I figured it out. In case anyone is trying to figure out something similar I used a ray channel to listen for if the pawn is falling by setting a boolean if the ray length is longer than 50 (distance from center of mesh to floor)