NewtonArticulationRootAPI (self-collision fallback)#
Newton self-collision switch, read on every articulation root when PhysxArticulationAPI carries no enabledSelfCollisions.
Applies to:
Xformable,PhysicsJointRequires on the same prim:
PhysicsArticulationRootAPINo
usd-schemasgate: the consumer reads these columns whenever they exist on the prim, applied or not. Listing the API is still what the producer does and what the builders write.
What USD population writes#
Published like any applied API when the Newton schema is registered for population; without the registration its attributes are lost (see the ovphysx Newton schema notes).
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 |
true, unless PhysxArticulationAPI physxArticulation:enabledSelfCollisions is present. |
Notes#
The parser reads these columns without checking that NewtonArticulationRootAPI is listed in usd-schemas. The compiled cache reads them but does not support the API: a prim that lists NewtonArticulationRootAPI makes the cache bypass.
Newton’s schema makes PhysicsArticulationRootAPI built-ins of this API, and USD population lists built-ins among a prim’s applied schemas. The builder writes only what the caller applies, so it requires them on the same prim instead of writing a prim the walker would not recognize.