Inaccurate mass-value for sdf-based collisions


I’ve been experimenting a bit with signed-distance-field (sdf)-based collisions and am generally impressed with the results!

But when I read out the mass value of the prims that were assigned sdf collisions, I found that the mass is inaccurate.

It seems that the mass is not calculated based on the Object mesh, but instead based on the bounding box for the sdf.

For example:

If I import a 3D model of a gear that should weigh about 2.68 kg (calculated in CAD program with the same density as in Omniverse) into Omniverse and apply sdf collisions to it, I get a mass of about 4.83 kg. A cube about the same size as the sdf bounding box (see picture) and assigned the same material also weighs about 4.83 kg.

I used the mass information in the physics debug window (see image) to read the object mass.

Is this a bug? And is this mass also used for the physics calculations?

Many thanks in advance!

Hi Axel,

We are aware of this issue, and it will be fixed in the next release. The SDF tri-mesh collider feature still needs more work to get it from preview to full release status.

For now, please use the Mass API to define the correct mass and inertia manually:

Thank you,

1 Like

Hi Philipp,

thanks for the clarification.

Then I will assign the mass manually until the next release.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.