31 #ifndef PX_CONTACT_MODIFY_CALLBACK 32 #define PX_CONTACT_MODIFY_CALLBACK 96 mContacts[i].normal = n;
130 mContacts[i].targetVelocity = v;
150 return reinterpret_cast<PxU32*
>(mContacts + mCount)[mCount + i];
173 mContacts[i].maxImpulse = s;
194 mContacts[i].restitution = r;
213 mContacts[i].staticFriction = f;
232 mContacts[i].dynamicFriction = f;
256 return patch->mMassModification.mInvMassScale0;
268 return patch->mMassModification.mInvMassScale1;
280 return patch->mMassModification.mInvInertiaScale0;
292 return patch->mMassModification.mInvInertiaScale1;
304 patch->mMassModification.mInvMassScale0 = scale;
317 patch->mMassModification.mInvMassScale1 = scale;
330 patch->mMassModification.mInvInertiaScale0 = scale;
343 patch->mMassModification.mInvInertiaScale1 = scale;
352 return reinterpret_cast<PxContactPatch*
>(
reinterpret_cast<PxU8*
>(mContacts) - headerOffset);
Definition: GuContactBuffer.h:37
Abstract class for collision shapes.
Definition: PxShape.h:142
#define PX_FORCE_INLINE
Definition: PxPreprocessor.h:351
float PxReal
Definition: PxSimpleTypes.h:78
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition: PxRigidActor.h:58
uint8_t PxU8
Definition: PxSimpleTypes.h:75
PX_CUDA_CALLABLE PX_INLINE void PX_UNUSED(T const &)
Definition: PxPreprocessor.h:466
uint32_t PxU32
Definition: Px.h:48
3 Element vector class.
Definition: PxVec3.h:49