ADestructibleActor *Mesh; I just want to create a subobject,but I can’t include “PhysicsEngine/ADestructibleActor.h”.the visual studio just tell me "cannot open source file ",what should we do?
Are you trying to use the Physx destructible actor? These are the only header files I could find for destructible actors. I’m not sure how you will need to include them in your source files but these are the relative paths from UE 4.18:
UE_4.18\Engine\Source\ThirdParty\PhysX\APEX_1.4\include\destructible\DestructibleActor.h
UE_4.18\Engine\Plugins\Runtime\ApexDestruction\Source\ApexDestruction\Private\DestructibleActor.cpp
Thank you very much,i love you!
1 Like