Description

This does not repro when physics substepping is disabled.

The sequence of events in the character uncrouch code (UCharacterMovementComponent::UnCrouch) causes the capsule to move up then increase its size, however the substepping cause the capsule size change to occur before the location change. I tried disabling the "allow scoped movement updates" in the movement component to rule that out, but this defect still occurs.

Steps to Reproduce

Load the attached project/map, or create a similar setup as in the UDN issue (a simulated cube on a slope, with a character crouching on it).

Crouch and uncrouch the character, with physics substepping turned on and the framerate limited in a way to force substepping to occur.

Observe the uncrouch causes the character capsule to penetrate the cube and apply a large force to it.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-90422 in the post.

5
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.254.26
CreatedMar 10, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022