When im using dynamicobject like this:
tube = DynamicObject(
usd_path=asset_path_tube,
prim_path=“/World/tube”,
mesh_path=“/World/tube”,
position=np.array([0.2, 0.2, 0.4]),
scale=np.array([0.2, 0.2, 0.2]),
mass=1.0,
)
And I want to change the collision approximation, so i revised the class DynamicObject(RigidPrim, GeometryPrim): and change set_collision_approximation(“convexHull”) to set_collision_approximation(“sdf”).
But there is a warning:
[Warning] [omni.physx.plugin] PhysicsUSD: Parse collision - triangle mesh collision (approximation None/MeshSimplification) cannot be a part of a dynamic body, falling back to convexHull approximation: /World/tube. For dynamic collision please use approximations: convex hull, convex decomposition, box, sphere or SDF approximation.
And the warning doesn’t happen if i use set_collision_approximation(“convexHull”).
Thanks in advance!