Closed nathalie-raffray closed 3 months ago
Thank you for the detailed report, I'll have a look. Internal tracking: PX-4820
Hi @nathalie-raffray - sorry for the late reply.
Two points:
I tried quickly to update our SnippetSDF to print the mass of the tri-mesh geom after running update mass, and this works. Even if I set the bowl dynamic to kinematic.
Closing due to inactivity.
Library and Version
PhysX v5.3.1
Operating System
Windows 11
Steps to Trigger Behavior
Code Snippet to Reproduce Behavior
Expected Behavior
The behavior for kinematic triangle mesh actor should be the same as it is for other kinematic actors with other shapes (there is no assertion failing with other shapes, i.e. I don't have this issue with convex meshes, boxes, spheres, etc).
Actual Behavior
PX_ASSERT
fails and my program running in Debug stops with the following error: ExtInertiaTensor.h(282) : Assertion failed: mG.isFinite()It seems like the issue is caused by the mass of the triangle mesh being 0 here (lines ~200) in ExtRigidBodyExt.cpp. I debugged and the mass, inertia and centerOfMass are default values (i.e. 0 for mass and inertia). This mass is later used in ExtInertiaTensor.h, and mG is calculated by dividing by that mass (which equals 0) which leads to mG not being finite.