Add funcs to set/get rigid actor user data

This commit is contained in:
bloeys
2023-10-05 13:25:48 +04:00
parent a01e4b6bbd
commit 5a55870493
4 changed files with 15 additions and 5 deletions

View File

@ -4,16 +4,19 @@
#include "CPxFilterData.h"
#ifdef __cplusplus
extern "C" {
extern "C"
{
#endif
struct CPxRigidActor
{
void* obj;
void *obj;
};
//Sets the CPxFilterData on all the shapes of the actor.
// Sets the CPxFilterData on all the shapes of the actor.
CPxAPI void CPxRigidActor_setSimFilterData(CSTRUCT CPxRigidActor cra, CSTRUCT CPxFilterData cfd);
CPxAPI void CPxRigidActor_set_userData(CSTRUCT CPxRigidActor cra, void *userData);
CPxAPI void *CPxRigidActor_get_userData(CSTRUCT CPxRigidActor cra);
#ifdef __cplusplus
}