Rigiddynamic CMass+Shape local poses

This commit is contained in:
bloeys
2022-01-28 09:27:50 +04:00
parent eb4519cc53
commit 940a0b2db6
6 changed files with 39 additions and 1 deletions

View File

@ -47,6 +47,9 @@ extern "C" {
CPxAPI CSTRUCT CPxTransform CPxRigidDynamic_getGlobalPose(CSTRUCT CPxRigidDynamic* crd);
CPxAPI void CPxRigidDynamic_setGlobalPose(CSTRUCT CPxRigidDynamic* crd, CSTRUCT CPxTransform* tr, bool autoAwake);
CPxAPI CSTRUCT CPxTransform CPxRigidDynamic_getCMassLocalPose(CSTRUCT CPxRigidDynamic* crd);
CPxAPI void CPxRigidDynamic_setCMassLocalPose(CSTRUCT CPxRigidDynamic* crd, CSTRUCT CPxTransform* tr);
#ifdef __cplusplus
}
#endif

View File

@ -1,6 +1,8 @@
#ifndef CPxShape_H
#define CPxShape_H
#include "CPxTransform.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -10,6 +12,9 @@ extern "C" {
void* obj;
};
CPxAPI void CPxShape_setLocalPose(CSTRUCT CPxShape* cs, CSTRUCT CPxTransform* tr);
CPxAPI CSTRUCT CPxTransform CPxShape_getLocalPose(CSTRUCT CPxShape* cs);
#ifdef __cplusplus
}
#endif