PxContactJoint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PxJacobianRow
 a joint that maintains an upper or lower bound (or both) on the distance between two points on different objects More...
 
class  PxContactJoint
 a joint that maintains an upper or lower bound (or both) on the distance between two points on different objects More...
 

Functions

PxContactJointPxContactJointCreate (PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
 Create a distance Joint. More...
 

Function Documentation

◆ PxContactJointCreate()

PxContactJoint* PxContactJointCreate ( PxPhysics physics,
PxRigidActor actor0,
const PxTransform localFrame0,
PxRigidActor actor1,
const PxTransform localFrame1 
)

Create a distance Joint.

Parameters
[in]physicsThe physics SDK
[in]actor0An actor to which the joint is attached. NULL may be used to attach the joint to a specific point in the world frame
[in]localFrame0The position and orientation of the joint relative to actor0
[in]actor1An actor to which the joint is attached. NULL may be used to attach the joint to a specific point in the world frame
[in]localFrame1The position and orientation of the joint relative to actor1
See also
PxContactJoint