PhysxPhysicsJointInstancer#

Instances joints from prototype joints. The runtime’s joint-instancer loader parses each prototype joint once, then creates one joint per protoIndices entry, composing the per-instance local frames with the prototype’s and binding the per-instance bodies.

What USD population writes#

Schema attributes and authored relationships are published like any physics prim’s (see the prim block).

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

physics:prototypes

uint64 array, RELATIONSHIP_PATH_ID

not written

No prototype joints: nothing is created.

physics:protoIndices

int32 array

none

not written

Warns that the indices array is not valid and creates no joint.

physics:body0s

uint64 array, RELATIONSHIP_PATH_ID

not written

body0 is the world for every instance.

physics:body1s

uint64 array, RELATIONSHIP_PATH_ID

not written

body1 is the world for every instance.

physics:body0Indices

int32 array

none

not written

Warns; every instance uses index -1, so a body0 target is taken as a body, never as a PointInstancer instance.

physics:body1Indices

int32 array

none

not written

Warns; every instance uses index -1, so a body1 target is taken as a body, never as a PointInstancer instance.

physics:localPos0s

float32[3] array, POINT

length

not written

Warns; the instance frame on body0 is at the origin (the prototype’s localPos0 still applies).

physics:localRot0s

float16[4] array, QUATERNION

none

not written

Identity instance rotation on body0.

physics:localPos1s

float32[3] array, POINT

length

not written

Warns; the instance frame on body1 is at the origin (the prototype’s localPos1 still applies).

physics:localRot1s

float16[4] array, QUATERNION

none

not written

Identity instance rotation on body1.

Interactions#

  • PointInstancer: A body target that is a PointInstancer selects one of its instances by the matching body index (see that component’s protoIndices and prototypes).

  • PhysicsJoint: Each prototype is an ordinary joint prim parsed once; the instance frames multiply its localPos/localRot.