JointFrame#

Fully qualified name: usdex::core::JointFrame

class JointFrame#

Specifies a position and rotation in the coordinate system specified by space

Note

The position and orientation are stored as doubles to avoid precision loss when aligning the joint to each body. This differs from the UsdPhysicsJoint schema, which stores them as floats. The final authored values on the PhysicsJoint prim will be cast down to floats to align with the schema.

Public Types

enum class Space#

Coordinate systems in which a joint can be defined.

Values:

enumerator Body0#

The joint is defined in the local space of body0

enumerator Body1#

The joint is defined in the local space of body1

enumerator World#

The joint is defined in world space.

Public Members

Space space#

The space in which the joint is defined.

pxr::GfVec3d position#

The position of the joint.

pxr::GfQuatd orientation#

The orientation of the joint.