Implementing the rigiddynamic api

This commit is contained in:
bloeys
2022-01-28 05:49:27 +04:00
parent 2648e5743e
commit ce662775a4
14 changed files with 446 additions and 21 deletions

20
pgo/physx-c/CPxForceMode.h Executable file
View 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