PhysxSurfaceDeformableBodyAPI#

PhysX collision substepping for a surface deformable body, read on the prim carrying OmniPhysicsDeformableBodyAPI only when its simulation mesh is a surface (OmniPhysicsSurfaceDeformableSimAPI) and PhysxSurfaceDeformableBodyAPI is listed in its usd-schemas. Without the API, or with a column absent, both values are 0, not the schema fallback 1.

  • Applies to: Xformable

  • Requires on the same prim: OmniPhysicsDeformableBodyAPI

  • 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.

What USD population writes#

Published like any applied physics API: every declared attribute at its resolved value. USD population also lists the built-in PhysxBaseDeformableBodyAPI in usd-schemas. No column is rewritten or created by the producer.

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

physxDeformableBody:collisionIterationMultiplier

uint32

none

1

resolved USD value (authored, else raw fallback)

0 diverges

0, the descriptor default, not the schema fallback 1 (the legacy USD loader defaulted to 1). PhysX then reports 0 collision substeps for the body, but the GPU solver runs the scene-wide maximum over all surface bodies, which starts at 1, so the simulation matches 1.

physxDeformableBody:collisionPairUpdateFrequency

uint32

none

1

resolved USD value (authored, else raw fallback)

0 diverges

0, the descriptor default, not the schema fallback 1 (the legacy USD loader defaulted to 1). With the TGS solver 0 makes PhysX update surface collision pairs adaptively, and because the GPU solver keeps one value per scene, a single surface body with 0 makes pair updates adaptive for every surface body in the scene. Under PGS the pairs are updated once per step regardless.

Interactions#

  • OmniPhysicsDeformableBodyAPI: Read only on a prim enumerated by OmniPhysicsDeformableBodyAPI that the ovstage walker accepts as a deformable body: a Mesh, TetMesh or BasisCurves, or an Xformable that is not a Gprim, with exactly one simulation mesh (OmniPhysicsVolumeDeformableSimAPI or OmniPhysicsSurfaceDeformableSimAPI) on the prim itself or an immediate child.

  • OmniPhysicsSurfaceDeformableSimAPI: Read only when the body’s simulation mesh carries this API (a surface body); a volume body ignores both columns.

  • PhysxBaseDeformableBodyAPI: USD applies PhysxBaseDeformableBodyAPI as a built-in of this API; the parser checks that name separately, so a hand-populated body lists both.