Description

We seem to be setting the InverseInertia to zero, even though the InverseMass is non-zero.

FPBDJointUtilities::ConditionInverseMassAndInertia assumes that the inverse inertia is only zero if the inverse mass is zero.

This is probably caused by small objects combined with the logic in SetObjectState in PBDRIgidParticles.h

Steps to Reproduce

Unknown repro, speculatively:

  • create a small dynamic physics object (less than 1cm) with a very small mass (less that 0.0001)
  • Add a joint to it. Make sure Mass conditioning is enabled

Play in PIE - crash.

 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics - Solver
Affects Versions5.4
Target Fix5.5
Fix Commit36134276
CreatedAug 8, 2024
ResolvedSep 16, 2024
UpdatedOct 15, 2024
View Jira Issue