Hello,
I been triyung to access to PxRigidDynamic but I cannot access to its function, I would like to get the variables of the class, it says it is a incomplete class and cannot access to it.
I included the library and still doesn’t work
//For Scene Locking using Epic's awesome helper macros like SCOPED_SCENE_READ_LOCK
#include "Runtime/Engine/Private/PhysicsEngine/PhysXSupport.h"
#include "ThirdParty/PhysX3/PhysX_3.4/Include/PxMaterial.h"
#include "ThirdParty/PhysX3/PhysX_3.4/Include/PxRigidBody.h"
//#include "PhysXIncludes.h"
//#include "PhysicsPublic.h"
vismesh is a staticmeshactor, I would like to access variables like MaxDepenetrationVelocity, SleepThreshold,… basically all variables of rigiddynamic.
PxRigidDynamic* rrrr = vismesh->GetStaticMeshComponent()->GetBodyInstance()->GetPxRigidDynamic_AssumesLocked();