unisim.backend.isaacsim.physx_solver.apply_collision_offsets¶
- unisim.backend.isaacsim.physx_solver.apply_collision_offsets(stage, *, contact_offset=None, rest_offset=None)[source]¶
Author collision offsets on every collision shape (worker-side only).
The offsets live on
PhysxSchema.PhysxCollisionAPI(plainUsdPhysics.CollisionAPIhas no such attributes), so the API is applied to every collision prim before values are authored. PhysX requiresrestOffset <= contactOffset;PhysxSolverConfigvalidates the relationship before the worker applies it here.