OmniPhysicsElementCollisionFilter#
Excludes groups of collision elements of two sources from colliding with each other: one source is a deformable body, the other a deformable body or a rigid. The walker enumerates the type by exact usd-prim-type and the runtime creates one PxDeformableElementFilter per enabled prim whose sources resolve.
Applicable APIs:
CollectionAPI,GeomInstanceAPI,GeomInstanceRootAPI,GeomPrototypeAPI,PhysicsMaterialAPI,PhysxAutoDeformableAttachmentAPI,PhysxMaterialAPI,PhysxSceneAPI,PhysxVehicleAutoGearBoxAPI,PhysxVehicleClutchAPI,PhysxVehicleDriveBasicAPI,PhysxVehicleDriveStandardAPI,PhysxVehicleEngineAPI,PhysxVehicleGearsAPI,PhysxVehicleNonlinearCommandResponseAPI,PhysxVehicleSuspensionAPI,PhysxVehicleTireAPI,PhysxVehicleWheelAPI,PrototypeRootAPIDiscovery: by prim_type, probe
omniphysics:filterEnabledTransform columns: none, not
XformableNo builder:
ovphysx.populationandPopulation.hppdo not write this component; the consumer reads it when another population writes it.
Columns#
Raw fallback is the USD schema value. Producer writes is what ovstage population puts in the column for a USD stage. Parser default applies on the consumer when the column is absent, in stage units. diverges means writing the raw fallback literally parses differently from omitting the column (the parser default): USD population may well publish that very value for an unauthored attribute, so the marker is about the column being present, not about its value.
Column |
Type |
Units |
Raw fallback |
Producer writes |
Parser default |
If absent |
|---|---|---|---|---|---|---|
|
bool8 |
none |
true |
resolved USD value (authored, else raw fallback) |
true |
Enabled: the parser defaults to true and the runtime creates the PxDeformableElementFilter. With false the filter object is registered but no PhysX filter is made. |
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
The prim is dropped silently: the parser needs exactly one target on src0 and on src1 and otherwise emits no filter. One target must resolve to a created deformable body and the other to a deformable body or an Xformable at or below a rigid body; otherwise the runtime logs an error (‘has an invalid actor’) or creates no filter. |
|||
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
Same as omniphysics:src0: without exactly one target the prim is dropped silently. |
|||
|
uint32 array |
none |
not written |
Empty: src0 has no groups and is filtered as a whole against every group of src1 (the form a rigid source takes). With omniphysics:groupElemCounts1 absent as well the filter references no specific element, which PxDeformableElementFilter does not support (a checked PhysX build rejects it). |
||
|
uint32 array |
none |
not written |
Empty: src1 has no groups and is filtered as a whole against every group of src0 (the form a rigid source takes). With omniphysics:groupElemCounts0 absent as well the filter references no specific element, which PxDeformableElementFilter does not support (a checked PhysX build rejects it). |
||
|
uint32 array |
none |
not written |
Empty. Valid only while omniphysics:groupElemCounts0 sums to 0 (absent or all zeros); otherwise the runtime warns (‘Sum of groupElemCounts is not equal to groupElemIndices size!’) and creates no filter. |
||
|
uint32 array |
none |
not written |
Empty. Valid only while omniphysics:groupElemCounts1 sums to 0 (absent or all zeros); otherwise the runtime warns (‘Sum of groupElemCounts is not equal to groupElemIndices size!’) and creates no filter. |
Notes#
For a filter generated by PhysxAutoDeformableAttachmentAPI the runtime reads the four group arrays from its in-memory copy of the generated data first.