So I am trying to get simple collision data from a static mesh.
I tried this
StaticMeshComp->StaticMesh->GetPhysicsTriMeshData(&CollisionData, true)
The data it gave me was per polygon.
Apart form that the best way I got to found the collision data was getting the body instance and getting the BodySetup and the AggGeom;
/** Simplified collision representation of this */
UPROPERTY(EditAnywhere, Category = BodySetup, meta=(DisplayName = "Primitives"))
struct FKAggregateGeom AggGeom;
As it is a private member, I would either have to edit the engine or use some other hacks to get it. Are there any other method to get the triangle of the simple collision of the static mesh?