I’m trying to create an object with Signed-Distance-Field (SDF) mesh collision from a python script. I can create the rigid body using utils.setRigidBody(prim, approximationShape, kinematic) from omni.physx.scripts but the only values availables are: none, convexHull, convexDecomposition, meshSimplification, convexMeshSimplification, boundingCube and boundingSphere. However, from Isaac Sim GUI I can correctly set the SDF Mesh approximation.
I guess the only way to do it is by Pixar API but I couldn’t find more info appart from here. I saw that Chair Stacking, Franka Brick Stacking and Nuts and Bolts physics demos are using SDF collision, but I couldn’t find out how the SDF collision is set. Looking at the Chair Stacking, which is the simplest example, there is no line of code setting a collision, right? What am I missing?
Though it might be that in your version, this API looks different. Can you please try it, if this API exists? If not can you please tell me what version of kit you are using? In the help about?
I can then give you the python code.