NewtonMimicAPI#
Newton schema mimic constraint: joint = coef0 + coef1 * leader, with the leader given by newton:mimicJoint. The parser maps it onto the PhysX mimic joint as gearing = -coef1 and offset = -coef0, for single-DOF articulation joints only.
Applies to:
PhysicsJointRead only when listed in
usd-schemas.
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 |
|---|---|---|---|---|---|---|
|
bool8 |
none |
true |
resolved USD value (authored, else raw fallback) |
true |
true: the constraint is active. |
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
Error; no mimic joint is created. Exactly one target, a joint other than this one, is required. |
|||
|
float32 |
rot: deg; trans: length |
0.0 |
resolved USD value (authored, else raw fallback) |
0.0 |
0.0 offset. |
|
float32 |
none |
1.0 |
resolved USD value (authored, else raw fallback) |
1.0 |
1.0: the follower tracks the leader. |
Interactions#
PhysicsJoint: Read on enabled fixed, revolute, prismatic, spherical, distance and D6 joints that are not excluded from the articulation; only a revolute joint with finite limits or a prismatic joint, as follower and as leader, yields a descriptor, the rest log an error.