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.
Applicable APIs:
CollectionAPI,GeomInstanceAPI,GeomInstanceRootAPI,GeomPrototypeAPI,PhysicsMaterialAPI,PhysxAutoDeformableAttachmentAPI,PhysxMaterialAPI,PhysxSceneAPI,PhysxVehicleAutoGearBoxAPI,PhysxVehicleClutchAPI,PhysxVehicleDriveBasicAPI,PhysxVehicleDriveStandardAPI,PhysxVehicleEngineAPI,PhysxVehicleGearsAPI,PhysxVehicleNonlinearCommandResponseAPI,PhysxVehicleSuspensionAPI,PhysxVehicleTireAPI,PhysxVehicleWheelAPI,PrototypeRootAPITransform columns: none, not
XformableUses blocks:
prim
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 |
|---|---|---|---|---|---|---|
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
No prototype joints: nothing is created. |
|||
|
int32 array |
none |
not written |
Warns that the indices array is not valid and creates no joint. |
||
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
body0 is the world for every instance. |
|||
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
body1 is the world for every instance. |
|||
|
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. |
||
|
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. |
||
|
float32[3] array, POINT |
length |
not written |
Warns; the instance frame on body0 is at the origin (the prototype’s localPos0 still applies). |
||
|
float16[4] array, QUATERNION |
none |
not written |
Identity instance rotation on body0. |
||
|
float32[3] array, POINT |
length |
not written |
Warns; the instance frame on body1 is at the origin (the prototype’s localPos1 still applies). |
||
|
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.