definePhysicsFixedJoint#

Fully qualified name: usdex::core::definePhysicsFixedJoint

pxr::UsdPhysicsFixedJoint usdex::core::definePhysicsFixedJoint(
pxr::UsdPrim parent,
const std::string &name,
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:
  • parent – Prim below which to define the physics joint

  • name – Name of the physics joint

  • 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