Character collision/physics weird behaviour (crouch/uncrouch)

Whenever I uncrouch on physics object’s ledge that object get pushed. Use Flat Base for Floor Checks didn’t help. Also standing on prop smaller than character’s collision causes jitter. Is it a bug and is there a workaround?

104893-bug1.gif

104894-bug2.gif

UPD: UE 4.13 Problem still exists.

Hey NewWrench,

Enabling ‘Use Flat Base for Floor Checks’ drastically fixes the issue for me. How did you implement your crouching mechanic? I’m setting the Capsule Half Height to 60 on crouch then back to 96 on uncrouch.

You could also adjust the Perch Radius Threshold in the CharacterMovement component and keep the player from standing on the edge of the physics object all together.

To fix the ‘standing on small physics object’ issue, go to the CharacterMovement component of your character. In the Details panel > Character Movement: Physics Interaction > Lower the ‘Standing Downward Force Scale’ value.

I implemented it via CharacterMovementComponent’s bWantsToCrouch variable. Did I do it wrong?

Small physics object issue has been resolved by itself for some reason.

I’m glad the small physics object issue resolved for you.

But no, that implementation should also work. It’s odd that ‘Use Flat Base for Floor Checks’ fixes the issue with the setup I described but not with the other. I’ve created JIRA UE-35652 and our developers will be investigating further. That link goes to the public bug tracker and you can monitor the JIRAs progress.

Cheers,

TJ