PhysicsLimitAPI#
Per-axis limit of a D6 joint (a prim typed exactly PhysicsJoint), applied as PhysicsLimitAPI:
Applies to:
PhysicsJointMulti-apply: applied as
PhysicsLimitAPI:<instance>;<inst>in a column name is the instance. Instances:transX,transY,transZ,rotX,rotY,rotZ,distance.Read only when listed in
usd-schemas.
What USD population writes#
Both declared attributes of every applied instance are published at their resolved values (-inf and inf when unauthored). No rewrite.
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 |
rot axes: deg; trans axes and distance: length (deg_to_rad) |
|
resolved USD value (authored, else raw fallback) |
|
No lower bound. With the instance applied and both bounds absent the consumer seeds the schema fallbacks -inf/inf and leaves the axis free, as on a USD-populated stage. |
|
float32 |
rot axes: deg; trans axes and distance: length (deg_to_rad) |
|
resolved USD value (authored, else raw fallback) |
|
No upper bound. The consumer seeds the schema fallback inf; see low. |
Interactions#
PhysicsJoint: Only a prim typed exactly PhysicsJoint reads these instances; the gate is usd-schemas CONTAINS PhysicsLimitAPI:per instance. Instance order in the descriptor follows the fixed list transX, transY, transZ, rotX, rotY, rotZ, distance. PhysxLimitAPI: PhysxLimitAPI:supplies restitution, bounceThreshold, stiffness and damping for the limit created here.
Notes#
Per-joint-type instance matrix: Fixed none; Revolute none (uses physics:lowerLimit/upperLimit); Prismatic none (same); Spherical none (uses physics:coneAngle0Limit/coneAngle1Limit); Distance none (uses physics:minDistance/maxDistance); D6 (PhysicsJoint) transX transY transZ rotX rotY rotZ distance; Gear, Rack, Custom none.
Standalone D6 mapping: transX/Y/Z -> PxD6Axis::eX/eY/eZ linear limit (an open -inf/inf bound of a one-sided limit is clamped to the PhysX unlimited default +-PX_MAX_F32/3, so the authored bound still applies); rotX -> eTWIST twist limit; rotY/rotZ -> eSWING1/eSWING2 through one shared PxJointLimitPyramid (its y-angle bounds from rotY, its z-angle bounds from rotZ; the pyramid’s restitution, bounceThreshold, stiffness and damping come from whichever of the two instances was processed last; every pyramid angle is clamped just inside +-pi, so a one-sided swing limit keeps its authored bound and its open -inf/inf bound becomes ~+-pi); distance -> the D6 distance limit at the high bound, and every still-free linear axis becomes eLIMITED. A minimum distance on a D6 is not supported (warning).
Articulation D6 joints ignore the translational and distance entries; only rotX/rotY/rotZ exist, as eTWIST/eSWING1/eSWING2 of an eSPHERICAL joint: an enabled limit makes the axis eLIMITED with both bounds clamped to +-pi, so a one-sided limit keeps its authored bound.