Cloth Not Colliding with Convex Hulls in Physics Assets Tab

I am having a difficult time setting up collisions in the Physics asset tab after importing a character and adding cloth physics to the clothes so that I can get the clothes to collide correctly against the character’s body. Some of the collision capsules act like cylinders when the cloth collide against them. Sometimes when I add additional collision shapes, those shapes have no effect on the cloth. So I then tried to use convex hulls instead but the cloth will not collide against the convex hulls I created. Could this be caused by bugs in the editor? Any help appreciated.

Same here.
No solution?

After I debug the ue4 engine,I found why.
In FClothingSimulationNv::ExtractActorCollisions function.There is no code to extract convexcollision,only Capsule and Sphere.
Not only that problem,nvcloth only allow 32 planes to collide.So, you have to modify nvcloth too.

@xermao, Can you explain how you corrected FClothingSimulationNv::ExtractActorCollisions functions? I’m new to UE4 but I having the same problem.

this is how i fixed it, in “.\Engine\Source\Runtime\ClothingSystemRuntimeNv\Private\ClothingSimulationNv.cpp”
In-side void FClothingSimulationNv::ExtractActorCollisions(UClothingAssetCommon* Asset, FClothingActorNv &InActor)

1 Like

Hello, I copy your code in UE4.27, but the cloth still can not collide with convex hulls. Is there other code I need to modify, thanks a lot

Hello, I copy your code in UE4.27, but the cloth still can not collide with convex hulls. Is there other code I need to modify, thanks a lot

Hello

Is there a new equivalent for chaos physics?