How do I enable Cloth Simulation (CitySample 5.4)?

I’ve created a new project in 5.4 using the CitySample. After I migrated some assets from a previous project in 5.3, I noticed that my cloth physics aren’t working. No cloth simulation is happening whatsoever. In play, blueprint editors, mesh editors, nothing. If I enter “p.ClothPhysics 1” into the console it all works again… until I restart Unreal.

I assume there’s some project setting buried somewhere that would control this, but I cannot find it to save my life. I have thoroughly compared project settings with my old project and everything that could possibly be relevant is the same as far as I can tell. I’m obviously missing something, but I have no idea where to look at this point.

1 Like

In DefaultEngine.ini, under [ConsoleVariables] there’s a line that says “p.ClothPhysics=0”. Deleting that resolved the issue. Surely there’s something in the editor itself that controls this though… right?

1 Like

in the blueprint,select the skeletal mesh,search for “cloth” on the details panel.ther are several options about cloth physics there.

It’s not an issue with a specific blueprint, it’s that cloth physics were disabled for the entire project. As I said I got around it by manually editing the DefaultEngine config file, but there should be a way to fix that in the editor itself, I would think.

The problem is solved for me, and if the manual edit is the only way then so be it, but I’m hoping there’s a better answer in case I run into another problem like this in the future.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.