definePhysicsFixedJoint#

Fully qualified name: usdex::core::definePhysicsFixedJoint

pxr::UsdPhysicsFixedJoint usdex::core::definePhysicsFixedJoint(
pxr::UsdPrim prim,
const pxr::UsdPrim &body0,
const pxr::UsdPrim &body1,
const JointFrame &frame,
)#

Creates a fixed joint connecting two rigid bodies.

This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.

Parameters:
  • prim – Prim to define the joint. The prim’s type will be set to UsdPhysicsFixedJoint.

  • body0 – The first body of the joint

  • body1 – The second body of the joint

  • frame – The position and rotation of the joint in the specified coordinate system.

Returns:

UsdPhysicsFixedJoint schema wrapping the defined UsdPrim