Destructible mesh location

How do I get world space location of a destructible mesh in Blueprint?

Hey i answerd your PM and i also wanted to point you to this wiki post by Rama.

After you have the location of the mesh/ chunk you need to
A: Have some propertys exposed to Blueprint.
B: Make a BlueprintCallable function and call that to get the location of the mesh/ chunk in BP.

Hope it helps.

I’m having issues with the #include “PhysXIncludes.h” in the MyDestructibleActor.cpp file. I’ve added

PublicDependencyModuleNames.AddRange(new string] {

“PhysX”, “APEX” //PhysX

to The errors I’m getting seem to mostly reference PhysxIncludes.h and NxDestructibleActor.h

What could I be doing wrong?

Ok, got everything to compile with a mydestructible actor class. Now how do I go about using this in my project? I can’t seem to find a way to generate a mydestructible actor.