I am implementing a crouch mechanism, in which I am updating the pawn’s capsule’s half-height.
On crouch start, I shrink the half height using
SetCapsuleHalfHeight(). The capsule appropriately drops lower to the floor. Currently the mesh also goes through the floor, but that is easy enough to fix.
On crouch end, I expand the half height back to the original position. The problem is that this does not cause the capsule to rise back up. It simply does not update until I move it using input.
I have set the
CollisionComponent->bShouldUpdatePhysicsVolume = true; in the PCIP.
How do I get it to update and rise up?