Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Multiple Clothes Mobile Performance
#6
(29-08-2022, 11:02 AM)RhodokSniper Wrote: Fixed timestep is at 0.02 and max fixed timestep is 0.3, I can tweak fixed timestep a little but at some level Its gonna feel a little slow as expected, I guess your recommendation gonna be profiling and finding the best value for my project

Those values are the defaults, fine for pretty much all cases. Would recommend lowering max fix timestep to a small multiple of the fixed timestep (0.06 or 0.08) to prevent issues, but otherwise they should work fine.

(29-08-2022, 11:02 AM)RhodokSniper Wrote: I am using mulltiple box colliders attached to obi colliders for my walls and ground, all constrains are set to 1 iteration and all of them are sequential, I use all constraints except Chain, Stretch & Shear, Shape matching and Skin.
Yes, I ve already disabled debugger and safety checks.

Something doesn't quite add up then, performance should be much better that it currently is. I've tried a setup similar to yours (10 cloth items with 30 particles each, for a total of 300 particles), using the exact same settings on a Core i5 CPU (which is fairly weak by today's standards) I get around 220 fps. This is how my profiler looks like:

[Image: 5MqP2Nm.png]

What's the size of your cloth, in world-space? Only culprit I can think of at this point is them being very small relative to the solver's default collision margin value (0.02 meters). This will force all particles to collide against pretty much all other particles in the scene, causing both collision detection and contact constraint resolution to do a lot of unnecessary work. If this is the case, either make your cloth objects larger or reduce the collision margin value.

Another possible culprit is that you're using surface collisions together with large particles, this will result in a lot of self-contacts and will drastically reduce performance as warned in the manual.

If neither is the case, would it be possible for you to share your project by sending it to support(at)virtualmethodstudio.com so that I can take a closer look?

kind regards,
Reply


Messages In This Thread
RE: Multiple Clothes Mobile Performance - by josemendez - 29-08-2022, 11:21 AM