Description

USkeletalMeshComponent::CalcBounds updates CachedLocalBounds by transforming the world FBoxSphereBounds, by the WorldToLocal transform, which is not sufficient to calculate the bounds in local space. This causes the bounds to be incorrectly expanded.

Steps to Reproduce

Enable visualize bounds in the viewport.

Place a mannequin in the level.

Enable 'Component Use Fixed Skel Bounds' on the mannequin.

OnTick, call InvalidateCachedBounds followed by CalcBounds, drawing the results.

Simulate in the editor and rotate the mannequin.

Expected: The both bounds should match.

Result: The bounds displayed by the viewport setting are incorrectly expanded.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-73089 in the post.

3
Login to Vote

Unresolved
ComponentAnim
Affects Versions4.204.214.22
Target Fix4.25
CreatedApr 19, 2019
UpdatedOct 22, 2019