Public Types | List of all members
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

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:


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com