NewtonJointAPI (joint-level seeds)#
Newton joint-level values the PhysX parser reads as seeds for every axis of a revolute, prismatic, spherical or D6 joint: velocity limit, armature, friction and damping. A PhysxJointAxisAPI value on an axis overrides them.
Applies to:
PhysicsJointNo
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 |
|---|---|---|---|---|---|---|
|
float32 |
rot: deg/s; trans: length/s (deg_to_rad) |
|
resolved USD value (authored, else raw fallback) |
|
A finite legacy physxJoint:maxJointVelocity supplies the fallback, otherwise FLT_MAX. A finite PhysxJointAxisAPI maxJointVelocity has highest precedence. |
|
float32 |
rot: mass*length^2; trans: mass |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0, unless a positive PhysxJointAxisAPI armature overrides it. |
|
float32 |
force or torque |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0 for both friction efforts, unless a positive PhysxJointAxisAPI friction effort overrides them. |
|
float32 |
rot: torques/deg; trans: forces/length |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0, unless a positive PhysxJointAxisAPI viscousFrictionCoefficient overrides it. |
Notes#
The parser reads these columns without checking that NewtonJointAPI is listed in usd-schemas. The compiled cache reads them but does not support the API: a prim that lists NewtonJointAPI makes the cache bypass.