How do I get world space location of a destructible mesh in Blueprint?
Thanks
Hey i answerd your PM and i also wanted to point you to this wiki post by .
After you have the location of the mesh/ chunk you need to
A: Have some propertys exposed to Blueprint.
or,
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] {
“Core”,
“CoreUObject”,
“Engine”,
“InputCore”,
“PhysX”, “APEX” //PhysX
});
to Myproject.build.cs. 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.