PxSphericalJointCreate

Defined in include/extensions/PxSphericalJoint.h

PxSphericalJoint *PxSphericalJointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)

Create a spherical joint.

See also

PxSphericalJoint

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