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.
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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-90422 in the post.
5 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.25, 4.26 |
Created | Mar 10, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |