Choppy character movement when being pushed, missing hit events. (both when character is not moving)

Roy Wierer (Seda145)
Sun, 09 May 2021 00:28:53 +0000
World Creation

The question has been asked quite a few times but it seems no one found a real solution to this.
Similar to https://forums.unrealengine.com/t/smoothly-push-player-while-not-moving/150842

The problem rendered on a GIF:
https://streamable.com/mb97xk

What it should look like instead:
https://streamable.com/048o1i

When a character is pushed by another object (block collision) the character moves up and down in a choppy glitchy way instead of being pushed smoothly. When this character is moving or jumping at the moment of impact it does get pushed smoothly instead of choppy. When standing on top of an object (think of an elevator floor) the up-down movement is smooth.

In all tests the object pushing the player is a simple cube:
(collision profile BlockAllDynamic, no physics, no generate hit events (only required on character), moves back and forth using a InterpToMovement component with Sweep enabled.)

I’m trying to find a solution to this choppy behavior when any sweeping object pushes my character from sideways, without hacky workarounds. I’m confused why this doesn’t work “out of the box”

On top of the movement problem I noticed that Blocking Hit events are also not generated by the character while standing still, they are only generated while moving the character. Both problems (the glitchy sideways push and the missing hit events) are a big problem for my project.
Does anyone have a fix for these that doesn’t feel hacky?

3 posts - 2 participants