PxContactJointCreate
Defined in include/extensions/PxContactJoint.h
-
PxContactJoint *PxContactJointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a contact Joint.
See also
- 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