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 to Questions & Answers just mention UE-73089 in the post.

4
Login to Vote

Fixed
ComponentUE - Anim - Gameplay
Affects Versions4.204.214.22
Target Fix5.0-early access
Fix Commit8471715
Main Commit8471715
CreatedApr 19, 2019
ResolvedFeb 12, 2021
UpdatedApr 28, 2021
View Jira Issue