Remove MaxStepHeight when jumping

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

7Soul
Posts: 42
Joined: Sat Mar 13, 2021 6:47 pm

Remove MaxStepHeight when jumping

Post by 7Soul »

One issue I ran into with my TC that allows jumping is that I'll make my player able to jump 64 units high, but they can go up much higher ledges due to the actor's ability to go up steps and this looks weird in practice. I tried setting MaxStepHeight to 0 when I jump and back to normal when I land, but then if I land near a step of even 1 unit it kills my horizontal momentum before the game can register that I hit the floor

I'm not good at programming so maybe there is a better solution but I can't come up with anything on my end, so I was hoping for an in engine option

Return to “Feature Suggestions [GZDoom]”