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