PxForceMode Struct Reference

Parameter to addForce() and addTorque() calls, determines the exact operation that is carried out. More...

#include <PxForceMode.h>

Public Types

enum  Enum { eFORCE, eIMPULSE, eVELOCITY_CHANGE, eACCELERATION }
 

Detailed Description

Parameter to addForce() and addTorque() calls, determines the exact operation that is carried out.

See also
PxRigidBody.addForce() PxRigidBody.addTorque()

Member Enumeration Documentation

◆ Enum

Enumerator
eFORCE 

parameter has unit of mass * distance/ time^2, i.e. a force

eIMPULSE 

parameter has unit of mass * distance /time

eVELOCITY_CHANGE 

parameter has unit of distance / time, i.e. the effect is mass independent: a velocity change.

eACCELERATION 

parameter has unit of distance/ time^2, i.e. an acceleration. It gets treated just like a force except the mass is not divided out before integration.


The documentation for this struct was generated from the following file: