All i get is member is inaccessible.
I’m trying to copy the collider data from a static mesh, similarly to this:
All i get is member is inaccessible.
I’m trying to copy the collider data from a static mesh, similarly to this:
Body Setup from a static mesh actor
AStaticMeshActor* MeshActor = ...;
UBodySetup* BodySetup = MeshActor->GetStaticMeshComponent()->GetBodySetup();
Body Setup from a static mesh
UStaticMesh* Mesh = ...;
UBodySetup* BodySetup = Mesh->BodySetup;