UCC and Magica Cloth 2 Physics

avalonsutra

New member
Hi,

I have a character that has several Magica Cloth 2 components for hair and some clothes (Mesh Cloth) and for breast (BoneSpring). It also uses some MC2 colliders attached to the bone rig.

When running it on its own all the applied physics work as expected but after putting UCC on the character the MC2 colliders are essentially ignored and the BoneSpring physics don't work at all. Is UCC modifying the bone rig in some way to influence this and how can I make these two work together smoothly?
 
The Character IK component will use Unity's IK system to adjust the bone positions but besides that the controller doesn't change the animations at all.
 
Hi Justin,
First of all thanks for the support!

Though I'm not even using the UCC IK component on my character and the above symptoms occur. I also tested my non-UCC-setup character with a rigid body and capsule collider like the ones UCC sets up and no issue either so these two can be excluded from causing any trouble as well. There must be something else that interferes with the bone physics.

Here are two videos to make the difference clear:

First one is without UCC.
Second one is with UCC.


The physics-enabled clothes and hair go all havoc, the jacket polys even stretching through the floor and the spring physics (breast) don't work at all. The cloth physics that do work feel a lot more agitated compared to when not having UCC set on it.

The UCC setup on the character is pretty much standard as can be seen here in these screenshots:

snag_20240930_0000.png
snag_20240930_0001.png

I can really find anything that could be causing this. Any ideas what might be the cause of this issue?
 
Unfortunately I'm not sure. I don't have Magica Cloth to be able to test it out so I'm not sure what it is doing. The character controller runs within the FixedUpdate loop so the only idea that I have is to make sure everything runs after the controller has moved the character.
 
Unfortunately I'm not sure. I don't have Magica Cloth to be able to test it out so I'm not sure what it is doing. The character controller runs within the FixedUpdate loop so the only idea that I have is to make sure everything runs after the controller has moved the character.
Bummer! I will contact MC2 support and see if it helps!
 
Unfortunately I'm not sure. I don't have Magica Cloth to be able to test it out so I'm not sure what it is doing. The character controller runs within the FixedUpdate loop so the only idea that I have is to make sure everything runs after the controller has moved the character.

The issue was fixed! FWiW let me share the solution ...

This problem is caused by the timing of MagicaCloth initialization and the character’s posture.
It is resolved by placing the MagicaSettings component in the scene as shown below and changing InitializationLocation to “Awake”.
 

Attachments

  • 05e85827402f9b963b5163c8bd9acc5952bb3242.png
    05e85827402f9b963b5163c8bd9acc5952bb3242.png
    14.9 KB · Views: 2
Back
Top