PhysxJointAxisAPI#

Per-axis PhysX properties of an articulation joint (armature, maximum joint velocity, static, dynamic and viscous friction), applied as PhysxJointAxisAPI:. Only effective inside an articulation: on a standalone joint the runtime strips the API with a warning. Rotational instances are stored in degrees where the schema says so and the parser converts maxJointVelocity degrees to radians and multiplies viscousFrictionCoefficient by 57.29577951308232.

  • Applies to: PhysicsJoint

  • Multi-apply: applied as PhysxJointAxisAPI:<instance>; <inst> in a column name is the instance. Instances: angular, linear, rotX, rotY, rotZ.

  • Read only when listed in usd-schemas.

What USD population writes#

All five declared attributes of every applied instance are published at their resolved values. physxJointAxis::maxJointVelocity is rewritten to FLT_MAX when unauthored for each applied instance.

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

physxJointAxis:<inst>:armature

float32

linear/transX..Z: mass; angular/rotX..Z: mass*length^2

0.0

resolved USD value (authored, else raw fallback)

0.0

Positive joint-level physxJoint:armature, then newton:armature, then 0 survives on this axis. Only a strictly positive per-axis value displaces that seed, including on USD; an explicit PhysX zero cannot clear a nonzero seed.

physxJointAxis:<inst>:maxJointVelocity

float32

linear: length/s; angular/rotX..Z: deg/s (deg_to_rad)

inf

when unauthored: FLT_MAX

FLT_MAX

The joint-level physxJoint:maxJointVelocity, then newton:velocityLimit, then FLT_MAX survive on this axis. A value >= FLT_MAX counts as unauthored.

physxJointAxis:<inst>:staticFrictionEffort

float32

linear: force; angular: torque

0.0

resolved USD value (authored, else raw fallback)

0.0

newton:friction seeds both friction efforts, or zero when absent. If either per-axis PhysX effort is strictly positive, both efforts come from PhysX (zero for a missing effort), so the parser never mixes the two sources.

physxJointAxis:<inst>:dynamicFrictionEffort

float32

linear: force; angular: torque

0.0

resolved USD value (authored, else raw fallback)

0.0

newton:friction seeds both friction efforts, or zero when absent. If either per-axis PhysX effort is strictly positive, both efforts come from PhysX (zero for a missing effort), so the parser never mixes the two sources.

physxJointAxis:<inst>:viscousFrictionCoefficient

float32

linear: forces/length; angular: torques/deg

0.0

resolved USD value (authored, else raw fallback)

0.0

newton:damping, or zero when absent, survives unless the per-axis PhysX coefficient is strictly positive. Explicit PhysX zero also preserves the Newton seed.

Interactions#

  • PhysxJointAPI: physxJoint:armature and physxJoint:maxJointVelocity are the seeds this API overrides per axis; the joint-level armature is read even when no instance is applied.

  • PhysicsJoint: On a standalone joint every applied instance is removed from the prim with a ‘supported only for joints that are part of an articulation’ warning.

Known divergences#

  • fragile (consumer) physxJointAxis:<inst>:armature: Only strictly positive PhysX armature values displace the seed (joint-level PhysX, then Newton, then zero), because zero is both the fallback and a legal authored value and ovstage has no authored bit. Explicit PhysX zero therefore cannot clear a nonzero seed on either backend.

Notes#

  • Per-joint-type instance matrix: Fixed none; Revolute angular; Prismatic linear (no rotational conversion); Spherical rotX, rotY, rotZ (all three, each with rotational conversions); Distance none; D6 (PhysicsJoint) rotX, rotY, rotZ only, translational axes are never read; Gear, Rack, Custom none.

  • Articulation axis mapping: angular and rotX -> PxArticulationAxis::eTWIST; rotY -> eSWING1; rotZ -> eSWING2; linear -> eX.

  • The D6 descriptor’s jointProperties always has exactly three entries (rotX, rotY, rotZ) even when no instance is applied; unapplied entries carry the joint-level seeds.

  • Unrecognised instance names fall back to a runtime internToken(‘PhysxJointAxisAPI:’ + inst) and are read the same way.

  • At attachment, newton:armature seeds armature, newton:friction seeds both friction efforts, and newton:damping seeds viscous friction on each supported axis. Newton values use the same units and conversions as their PhysX counterparts. The Newton schema must be registered before USD population.

  • PhysX friction efforts override the Newton pair together if either is positive; positive PhysX viscous friction overrides Newton damping. Applying an API only for another property preserves these seeds. Explicit PhysX zeros cannot clear the Newton seeds.

  • The passive Newton mappings are attachment-time only: edits are not forwarded and updateJointAxis does not reseed them. The legacy physxJoint:jointFriction coefficient is bypassed by the solver on axes with nonzero static effort or viscous friction.