30 #ifndef PX_CONTACTJOINT_H 31 #define PX_CONTACTJOINT_H 76 void operator *= (
const PxReal scale)
107 virtual void setContactNormal(
const PxVec3& contactNormal) = 0;
112 virtual void setPenetration(
const PxReal penetration) = 0;
117 virtual PxVec3 getContact()
const = 0;
122 virtual PxVec3 getContactNormal()
const = 0;
127 virtual PxReal getPenetration()
const = 0;
129 virtual PxReal getResititution()
const = 0;
130 virtual void setResititution(
const PxReal resititution) = 0;
131 virtual PxReal getBounceThreshold()
const = 0;
132 virtual void setBounceThreshold(
const PxReal bounceThreshold) = 0;
139 virtual void computeJacobians(
PxJacobianRow* jacobian)
const = 0;
140 virtual PxU32 getNbJacobianRows()
const = 0;
Definition: GuContactBuffer.h:37
PxVec3 linear0
linear component of velocity jacobian in world space
Definition: PxConstraintDesc.h:85
PxVec3 angular0
angular component of velocity jacobian in world space
Definition: PxConstraintDesc.h:87
float PxReal
Definition: PxSimpleTypes.h:78
PxVec3 linear0
Definition: PxContactJoint.h:63
PxVec3 angular1
Definition: PxContactJoint.h:66
a joint that maintains an upper or lower bound (or both) on the distance between two points on differ...
Definition: PxContactJoint.h:61
PxVec3 linear1
linear component of velocity jacobian in world space
Definition: PxConstraintDesc.h:90
PxVec3 angular1
angular component of velocity jacobian in world space
Definition: PxConstraintDesc.h:92
PxU16 PxType
Definition: PxBase.h:49
static PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2 operator*(float f, const PxVec2 &v)
Definition: PxVec2.h:337
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition: PxRigidActor.h:58
a base interface providing common functionality for PhysX joints
Definition: PxJoint.h:101
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxJoint.h:376
PxJacobianRow(const PxVec3 &lin0, const PxVec3 &lin1, const PxVec3 &ang0, const PxVec3 &ang1)
Definition: PxContactJoint.h:70
PxVec3 linear1
Definition: PxContactJoint.h:64
PxJacobianRow()
Definition: PxContactJoint.h:68
PxVec3 angular0
Definition: PxContactJoint.h:65
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
uint32_t PxU32
Definition: Px.h:48
#define PX_INLINE
Definition: PxPreprocessor.h:336
3 Element vector class.
Definition: PxVec3.h:49