Description

When setting ComplexCollisionMesh of StaticMesh asset, CollisionPreset that is actually applied becomes the setting on the drawing mesh side.

It seems that ComplexCollisionMesh is not considered in UStaticMeshComponent :: GetBodySetup (), so if you modify this as below, the setting on the collision mesh side will be reflecte.

UBodySetup* UStaticMeshComponent::GetBodySetup()
{
   if(GetStaticMesh())
   {
      if(GetStaticMesh()->ComplexCollisionMesh)
      {
         return GetStaticMesh()->ComplexCollisionMesh->BodySetup;
      }
      return GetStaticMesh()->BodySetup;
   }
   return NULL;
}

 

 
 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-89922 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.234.24
CreatedMar 3, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022
View Jira Issue