How to set up collision for all objects

Hello,

I have an architecture model as fbx. By Importing I set up, that it should not combine the meshes. So now I have all object separated. With drag an drop to the viewport, UE position it correctly.

Now I want to set up the collision for all objects. When UE does it automatic, rooms get a convex collision box. But I want concave collision boxes. I can do it with the option: “Use Complex Collision As Simple”.

But I don’t want to do it click by click for every object. How can I do this for all?

Thanks.

Hi ,

Probably one of the more under-used tools in UE4 is the Properties Matrix. This allows you to set a lot of settings for all your meshes at once!

Once you have all your static meshes selected you can locate the option for “Collision Complexity” and set that to “Complex as Simple (Per-Poly)” collision.

I hope this helps.

Tim

Yea, it looks like a great solution, but problem is, I can not find my desired method. Here is what i want:

52739-collision1.png

and this is what I get:

Have you made sure that you’re only selecting the static meshes that you need to adjust?

When I have multiple asset types selected I do not see the option, but if you select only the Static Mesh assets and then edit bulk properties you should see it show up then. Not all properties will always apply to all meshes so these will not be present if that’s the case.

Thank very much!

Actually at version 4.21 this function does not allow you to change collision complexity.

Do a back up of your file before editing.

Edit the DefaultEngine.ini file in Config directory:-

\Config\DefaultEngine.ini

Search for and change the DefaultShapeComplexity flag to this:

DefaultShapeComplexity=CTF_UseComplexAsSimple

This will apply complex mesh-based collision to everything in the level. Not advised for final product :slight_smile:

Not sure if that changed but I don’t have DefaultEngine.ini file in Config directory. Ini files that do exist are named Base*.ini and one ConsoleVariables.ini
This if for folder E:\GameEngines\Epic Games\UE_4.22\Engine\Config where UE is installed.

Thanks.

This is workflow for batch change collision:

1 Like

Thank you.

Thanks a lot, it saves so much time.

I’ve found it but it does nothing.
Is there something else that should be done?
Or you must recompile whole engine somehow not just project?

Thx, it was well hidden !