OmniPhysicsVtxTriAttachment#
Binds vertices of deformable body src0 to points on triangles of surface deformable body src1, given as triangle indices plus triangle coordinates. src0’s vertices are converted to triangle or tetrahedron barycentrics; src1 must be a surface deformable.
Extends:
OmniPhysicsAttachment; its columns, derived values, interactions and findings are inherited and listed here.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:attachmentEnabledTransform 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 PxDeformableAttachment. With false the attachment object is still created and registered, but no PhysX attachment 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 attachment. The target must resolve to a created deformable body (its body, simulation-mesh or collision-mesh prim); anything else logs an error (‘cannot have an invalid deformable actor’) and creates no attachment. |
|||
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
Same as omniphysics:src0: without exactly one target the prim is dropped silently. The target is a deformable body for the vertex-to-vertex, -triangle and -tetrahedron types, or any Xformable for the xform types, which then binds to the rigid body or articulation link at or above it, or to the world with a warning (‘no rigid actor at or above’) when there is none. |
|||
|
float32 |
mass/s^2 |
|
resolved USD value (authored, else raw fallback) |
0.0 |
0.0, not the schema’s inf: the parser defaults to 0. Neither value reaches PhysX: the runtime copies the stiffness onto the attachment descriptor, but a PxDeformableAttachment has no stiffness, so every attachment is a hard constraint and writing inf literally is harmless. |
|
float32 |
mass/s |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0 (the parser’s default). Copied onto the attachment descriptor but never applied to PhysX; see omniphysics:stiffness. |
|
int32 array |
none |
not written |
Empty: side 0 gets no attachment point. With the triangle arrays absent as well the attachment is created and binds nothing, without any error; with the triangle arrays present the sides’ point counts differ, which only a checked PhysX build rejects. |
||
|
int32 array |
none |
not written |
Empty. Its length must equal that of omniphysics:triCoordsSrc1, so absent while the coordinates are present fails creation with an error (‘omniphysics:triIndicesSrc1 has 0 entries but omniphysics:triCoordsSrc1 has N; counts must match.’). Both absent: side 1 gets no attachment point. |
||
|
float32[3] array, VECTOR |
none |
not written |
Empty; same pairing rule with omniphysics:triIndicesSrc1. |