PhysxJointAPI#
PhysX tuning shared by every joint type: joint friction, a joint-level armature seed and a joint-level maximum joint velocity. The two per-axis values are seeds that PhysxJointAxisAPI:
Applies to:
PhysicsJointRead only when listed in
usd-schemas.
What USD population writes#
Every declared attribute is published at its resolved value. physxJoint:maxJointVelocity is rewritten to FLT_MAX when unauthored and CREATED on every joint-typed prim even when this API is not applied; the consumer ignores it unless PhysxJointAPI is in usd-schemas.
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 |
none |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
Zero legacy joint-friction coefficient; Newton effort-based friction and damping are independent. Read for every joint type including fixed, gear, rack and custom. |
|
float32 |
linear axes: mass; angular axes: mass*length^2 |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
newton:armature, or zero when absent, seeds every axis. Only a strictly positive joint-level PhysX armature replaces it; positive per-axis armature then overrides either seed. Explicit PhysX zero cannot clear a nonzero Newton seed on either backend. |
|
float32 |
linear axes: length/s; angular axes: deg/s (deg_to_rad) |
|
when unauthored: |
|
Unlimited. Precedence per axis is PhysxJointAxisAPI: |
Interactions#
PhysicsJoint: Gate is the stage-wide presence of PhysxJointAPI plus usd-schemas CONTAINS PhysxJointAPI on the prim. hasAuthoredAttribute is always true on ovstage; armature therefore requires a positive value and maxJointVelocity requires a value below FLT_MAX to override Newton seeds.PhysxJointAxisAPI: physxJoint:armature and physxJoint:maxJointVelocity are seeds for every axis; a PhysxJointAxisAPI:value overrides them per axis (armature only when strictly positive).
Known divergences#
note (consumer)
physxJoint:maxJointVelocity: Authored-ness is decided by the value (v < FLT_MAX), because the authored bit is unavailable on ovstage. An explicitly authored inf therefore behaves as unauthored and yields to newton:velocityLimit when that is present.
Notes#
physxJoint:enableProjection is declared by older schema versions but is not read anywhere by the parser.
newton:velocityLimit (Newton schema, not part of this contract) is seeded before this column and is the fallback when maxJointVelocity is FLT_MAX.
Standalone (non-articulation) joints: none of these three columns has a PhysX counterpart; they are parsed and dropped.
newton:armature seeds the joint axes before physxJoint:armature; a strictly positive PhysX value overrides it. Newton friction and damping seed the per-axis friction parameters separately from the deprecated jointFriction coefficient.