OmniPhysicsSurfaceDeformableSimAPI#
Marks the triangle simulation mesh of a surface deformable body and carries its rest shape and default bending rest angles. The walker accepts it on the body prim or an immediate child typed Mesh; body creation requires the rest shape to match the mesh exactly.
Applies to:
MeshRead only when listed in
usd-schemas.No 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 |
|---|---|---|---|---|---|---|
|
float32[3] array, POINT |
length |
not written |
Surface body creation requires exactly one rest point per mesh point, so an absent column logs ‘Surface deformable body creation failed. Mismatch between OmniPhysicsSurfaceDeformableSimAPI rest shape attributes and UsdGeomMesh topology detected’ and no body is created. For a PhysxAutoDeformableBodyAPI body the runtime’s cooker writes this column itself. |
||
|
int32[3] array |
none |
not written |
Body creation requires it to equal faceVertexIndices element for element (a triangulated mesh), so an absent column fails the same check and no body is created. |
||
|
uint64, TOKEN_ID |
none |
flatDefault |
resolved USD value (authored, else raw fallback) |
flatDefault |
flatDefault: PhysX flattening is enabled for the surface deformable (zero rest bending angles). Any other token, restShapeDefault included, disables flattening. |
Notes#
omniphysics:restAdjTriPairs and omniphysics:restBendAngles are not read by the runtime.