RavEngine
Loading...
Searching...
No Matches
physx::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 * length / time^2, i.e., a force

eIMPULSE 

parameter has unit of mass * length / time, i.e., force * time

eVELOCITY_CHANGE 

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

eACCELERATION 

parameter has unit of length/ 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: