mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
Implementing the rigiddynamic api
This commit is contained in:
20
pgo/physx-c/CPxForceMode.h
Executable file
20
pgo/physx-c/CPxForceMode.h
Executable file
@ -0,0 +1,20 @@
|
||||
#ifndef CPxForceMode_H
|
||||
#define CPxForceMode_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum CPxForceMode
|
||||
{
|
||||
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.
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // !CPxForceMode_H
|
||||
Reference in New Issue
Block a user