OmniPhysicsSurfaceDeformableMaterialAPI#

Surface (cloth) properties of an OmniPhysics deformable material. A material that lists it becomes a PxDeformableSurfaceMaterial; its elasticity, friction and density come from OmniPhysicsDeformableMaterialAPI and OmniPhysicsBaseMaterialAPI (USD lists both as its built-ins).

  • Applies to: Material

  • Read only when listed in usd-schemas.

  • No builder: ovphysx.population and Population.hpp do 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

omniphysics:surfaceThickness

float32

length

0.0

resolved USD value (authored, else raw fallback)

0.0

0.0 on a material the walker enumerates: PhysX gets zero thickness, and without omniphysics:mass the density-derived vertex mass uses max(thickness, FLT_EPSILON), so it is nearly zero. The material bound to the PhysicsScene, which also becomes the scene’s default deformable material, starts from the consumer default instead: 0.001 m in stage units (0.001 / metersPerUnit).

omniphysics:surfaceStretchStiffness

float32

mass/(length*s^2)

0.0

resolved USD value (authored, else raw fallback)

0.0

0.0. Parsed onto the descriptor but never passed to PhysX.

omniphysics:surfaceShearStiffness

float32

mass/(length*s^2)

0.0

resolved USD value (authored, else raw fallback)

0.0

0.0. Parsed onto the descriptor but never passed to PhysX.

omniphysics:surfaceBendStiffness

float32

mass/(length*s^2)

0.0

resolved USD value (authored, else raw fallback)

0.0

0.0: the PxDeformableSurfaceMaterial is created with bending stiffness 0, the PhysX default; the schema’s derivation from youngsModulus and surfaceThickness is not done by the runtime.

Interactions#

  • OmniPhysicsDeformableMaterialAPI: The surface columns are read only when this API is listed; the material’s other columns follow OmniPhysicsDeformableMaterialAPI and OmniPhysicsBaseMaterialAPI and their own usd-schemas gates.