29#ifndef PX_CONTACT_JOINT_H
30#define PX_CONTACT_JOINT_H
32#include "extensions/PxJoint.h"
52 PxContactJoint*
PxContactJointCreate(PxPhysics& physics, PxRigidActor* actor0,
const PxTransform& localFrame0, PxRigidActor* actor1,
const PxTransform& localFrame1);
70 linear0(lin0), linear1(lin1), angular0(ang0), angular1(ang1)
75 void operator *= (
const PxReal scale)
85 return PxJacobianRow(linear0*scale, linear1*scale, angular0*scale, angular1*scale);
128 virtual PxReal getRestitution()
const = 0;
129 virtual void setRestitution(
const PxReal restitution) = 0;
130 virtual PxReal getBounceThreshold()
const = 0;
131 virtual void setBounceThreshold(
const PxReal bounceThreshold) = 0;
138 virtual void computeJacobians(
PxJacobianRow* jacobian)
const = 0;
139 virtual PxU32 getNbJacobianRows()
const = 0;
a base interface providing common functionality for PhysX joints
Definition PxJoint.h:105
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxJoint.h:379
3 Element vector class.
Definition PxVec3.h:50
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxContactJoint * PxContactJointCreate(PxPhysics &physics, PxRigidActor *actor0, const PxTransform &localFrame0, PxRigidActor *actor1, const PxTransform &localFrame1)
Create a distance Joint.
Definition ExtContactJoint.cpp:218
a joint that maintains an upper or lower bound (or both) on the distance between two points on differ...
Definition PxContactJoint.h:61