PhysxMimicJointAPI (deprecated)#
Couples one degree of freedom of an articulation joint to one of a reference joint: position + gearing * referencePosition + offset = 0. Deprecated in favour of NewtonMimicAPI. Applied as PhysxMimicJointAPI:rotX, rotY or rotZ; the parser probes exactly those three instances on revolute, prismatic and D6 joints.
Applies to:
PhysicsJointMulti-apply: applied as
PhysxMimicJointAPI:<instance>;<inst>in a column name is the instance. Instances:rotX,rotY,rotZ.Read only when listed in
usd-schemas.
What USD population writes#
Every declared attribute of an applied instance is published at its resolved value; the referenceJoint relationship when authored.
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 |
|---|---|---|---|---|---|---|
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
Error; the instance is skipped. Exactly one target, a joint other than this one, is required. |
|||
|
uint64, TOKEN_ID |
none |
rotX |
resolved USD value (authored, else raw fallback) |
none: the instance is skipped diverges |
Error ‘unsupported token’; the instance is skipped. Only rotX, rotY and rotZ are accepted, and USD’s fallback rotX is not assumed: write the axis. |
|
float32 |
none |
1.0 |
resolved USD value (authored, else raw fallback) |
0.0 diverges |
0.0: no coupling term. USD’s fallback is 1.0, so write the value. |
|
float32 |
rot: deg; trans: length |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0. |
|
float32 |
1/s |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0: rigid coupling. |
|
float32 |
none |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0. |
Interactions#
PhysicsJoint: Read only on enabled revolute (with finite limits), prismatic and D6 joints (all linear axes locked, the instance axis free) that are not excluded from the articulation; the reference joint must pass the same checks for referenceJointAxis and be enabled. Revolute and prismatic joints take one instance.PhysicsArticulationRootAPI: Both joints must belong to an articulation.