OmniPhysicsVolumeDeformableSimAPI#
Marks the tetrahedral simulation mesh of a volume deformable body and carries its rest shape. The walker accepts it on the body prim or an immediate child that is a TetMesh or has readable tetVertexIndices; volume cooking requires the rest shape to match the mesh exactly.
Applies to:
TetMeshRead 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 |
Volume cooking requires exactly one rest point per simulation-mesh point, so an absent column fails cooking (‘UsdGeomTetMesh not compatible with rest attributes in DeformableVolumeSimAPI’) and no body is created. For a PhysxAutoDeformableBodyAPI body the runtime’s cooker generates the simulation mesh and writes this column itself. |
||
|
int32[4] array |
none |
not written |
Volume cooking requires it to equal tetVertexIndices element for element, so an absent column fails cooking with the same error and no body is created. Written by the cooker for a PhysxAutoDeformableBodyAPI body. |
Notes#
ovstage’s usd-prim-type column reports a UsdGeomTetMesh as Mesh, so the walker also accepts a prim with readable tetVertexIndices.