PxForceMode Struct Reference
[Physics]

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

#include <PxForceMode.h>

List of all members.

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-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com