30 #ifndef PX_PHYSICS_IMMEDIATE_MODE 31 #define PX_PHYSICS_IMMEDIATE_MODE 82 virtual bool recordContacts(
const Gu::ContactPoint* contactPoints,
const PxU32 nbContacts,
const PxU32 index) = 0;
123 Dy::ArticulationV** articulations=NULL,
const PxU32 nbArticulations=0);
208 const float dt=0.0f,
const float invDt=0.0f,
const PxU32 nbSolverArticulations=0, Dy::ArticulationV** solverArticulations=NULL);
303 inboundJoint.frictionCoefficient = 0.05f;
304 inboundJoint.maxJointVelocity = 100.0f;
308 inverseInertia =
PxVec3(1.0f);
310 linearDamping = 0.05f;
311 angularDamping = 0.05f;
312 maxLinearVelocitySq = 100.0f * 100.0f;
313 maxAngularVelocitySq = 50.0f * 50.0f;
314 disableGravity =
false;
319 inboundJoint.limits[i].low = inboundJoint.limits[i].high = 0.0f;
320 inboundJoint.drives[i].stiffness = 0.0f;
321 inboundJoint.drives[i].damping = 0.0f;
322 inboundJoint.drives[i].maxForce = 0.0f;
553 Dy::ArticulationV** articulations = NULL,
const PxU32 nbArticulations = 0);
649 const float dt,
const float invDt,
const PxU32 nbSolverArticulations, Dy::ArticulationV** solverArticulations);
Definition: GuContactBuffer.h:37
Definition: PxSolverDefs.h:302
Definition: PxImmediateMode.h:253
size_t ArticulationLinkHandle
Definition: PxSolverDefs.h:54
PxArticulationFlags flags
Definition: PxImmediateMode.h:273
Definition: PxSolverDefs.h:172
PxU32 pad
96 Padding for 16-byte alignment
Definition: PxImmediateMode.h:66
Definition: PxSolverDefs.h:80
Definition: PxSolverDefs.h:307
PxTransform body2World
76 World space transform
Definition: PxImmediateMode.h:61
PxVec3 invInertia
44 Mass-space inverse interia diagonal vector
Definition: PxImmediateMode.h:59
PxVec3 angularVelocity
Definition: PxImmediateMode.h:291
float PxReal
Definition: PxSimpleTypes.h:78
Definition: PxSolverDefs.h:342
PxVec3 linearVelocity
Definition: PxImmediateMode.h:290
Definition: PxSolverDefs.h:336
#define PX_C_EXPORT
Definition: Pxc.h:54
float maxAngularVelocitySq
Definition: PxImmediateMode.h:283
Definition: PxImmediateMode.h:276
PxReal maxAngularVelocitySq
92 Squared maximum angular velocity
Definition: PxImmediateMode.h:65
Enum
Definition: PxSolverDefs.h:255
PxReal angularDamping
84 Angular damping coefficient
Definition: PxImmediateMode.h:63
Definition: PxSolverDefs.h:216
PxU32(* PxConstraintSolverPrep)(Px1DConstraint *constraints, PxVec3 &bodyAWorldOffset, PxU32 maxConstraints, PxConstraintInvMassScale &invMassScale, const void *constantBlock, const PxTransform &bodyAToWorld, const PxTransform &bodyBToWorld, bool useExtendedLimits, PxVec3 &cAtW, PxVec3 &cBtW)
Definition: PxConstraintDesc.h:228
#define PX_PHYSX_CORE_API
Definition: PxPhysXCommonConfig.h:59
PxReal maxLinearVelocitySq
88 Squared maximum linear velocity
Definition: PxImmediateMode.h:64
bool disableGravity
Definition: PxImmediateMode.h:284
A geometry object.
Definition: PxGeometry.h:75
PxTransform childPose
Definition: PxImmediateMode.h:256
Definition: PxArticulationReducedCoordinate.h:77
Definition: PxCollisionDefs.h:67
Dy::ArticulationLinkHandle parent
Definition: PxImmediateMode.h:333
float linearDamping
Definition: PxImmediateMode.h:280
float angularDamping
Definition: PxImmediateMode.h:281
Definition: PxSolverDefs.h:314
Definition: PxImmediateMode.h:259
PxArticulationJointType::Enum type
Definition: PxImmediateMode.h:261
PxTransform pose
Definition: PxImmediateMode.h:289
void initData()
Definition: PxImmediateMode.h:298
PxReal maxJointVelocity
Definition: PxImmediateMode.h:268
PxReal invMass
16 Inverse mass
Definition: PxImmediateMode.h:56
A plugin class for implementing constraints.
Definition: PxConstraint.h:108
PxVec3 angularVelocity
28 Angular velocity
Definition: PxImmediateMode.h:57
PxReal linearDamping
80 Linear damping coefficient
Definition: PxImmediateMode.h:62
PxReal frictionCoefficient
Definition: PxImmediateMode.h:267
Definition: PxSolverDefs.h:63
PxTransform pose
Definition: PxImmediateMode.h:332
Definition: PxImmediateMode.h:294
A structure to cache contact information produced by LL contact gen functions.
Definition: PxCollisionDefs.h:49
float maxLinearVelocitySq
Definition: PxImmediateMode.h:282
Structure to store rigid body properties.
Definition: PxImmediateMode.h:53
float inverseMass
Definition: PxImmediateMode.h:279
Definition: PxSolverDefs.h:257
#define PX_ALIGN(alignment, decl)
Definition: PxPreprocessor.h:408
Definition: PxSolverDefs.h:247
Enum
Definition: PxSolverDefs.h:268
Definition: PxImmediateMode.h:287
Definition: PxSolverDefs.h:111
PxFeatherstoneArticulationLinkData()
Definition: PxImmediateMode.h:296
PxReal maxDepenetrationVelocity
32 Maximum de-penetration velocity
Definition: PxImmediateMode.h:58
uint32_t PxU32
Definition: Px.h:48
Definition: PxSolverDefs.h:383
PxTransform parentPose
Definition: PxImmediateMode.h:255
Definition: PxSolverDefs.h:274
Definition: PxSolverDefs.h:294
PxFeatherstoneArticulationJointData inboundJoint
Definition: PxImmediateMode.h:329
PxVec3 inverseInertia
Definition: PxImmediateMode.h:278
3 Element vector class.
Definition: PxVec3.h:49
Definition: PxImmediateMode.h:271
PxReal maxContactImpulse
48 Maximum permissable contact impulse
Definition: PxImmediateMode.h:60