PxD6JointCreate
Defined in include/extensions/PxD6Joint.h
-
PxD6Joint *PxD6JointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a D6 joint.
See also
PxD6Joint
- Parameters
physics – [in] The physics SDK
actor0 – [in] An actor to which the joint is attached. NULL may be used to attach the joint to a specific point in the world frame
localFrame0 – [in] The position and orientation of the joint relative to actor0
actor1 – [in] An actor to which the joint is attached. NULL may be used to attach the joint to a specific point in the world frame
localFrame1 – [in] The position and orientation of the joint relative to actor1