Hello, I have an error when using the deformable body attachments in the last Isaac Sim 2023.1.0-hotfix.1 release.
It can be reproduced with the extsPhysics/omni.physx.demos-105.1.10-5.1/omni/physxdemos/scenes/DeformableBodyAttachmentsDemo.py
. If we set the left blob deformable body simulation_hexahedral_resolution
to 64 (it can also be changed in the Mesh/Physcs/Deformable Body
UI).
deformableUtils.add_physx_deformable_body(stage, blob_left_mesh.GetPath(), collision_simplification=False, simulation_hexahedral_resolution=64)
This change sets more attachment points but when the simulation starts the attachment is not properly created. The left blob is actually detached from the cube, showing this error:
[Error] [omni.physx.plugin] Invalid attachment point detected for attachment /blobLeft/attachment. Skipping attachment creation.
I think, this issue is not related to simulation_hexahedral_resolution
but it is due to a limit on the number of attachment points that can be handled by PhysxSchema.PhysxPhysicsAttachment
. As another example, a low resolution deformable body attached into a large overlap object (more attachment points) causes the same error.
I tested this with the previous 2022.2.1 release and it did not have this issue, it maintained correctly attached the blob, independently of the number of attached points.
Best