week11:Clothing simulation and modify scene

Use style3D stimulate for clothing calculations

Here are some common problems I encounter when I’m using Style3D Simulation and Unreal Engine (UE) to simulate and render clothing. For example, the physical properties of the fabric, the setting of the collider, and the simulation accuracy, and my solutions to these problems are as follows:

  1. Collision problem
    Certain parts of the character (e.g. arms, legs) penetrate the costume. The collision detection range is too large or too small, resulting in fabric floating or stuck.
    Check collider Settings:
    In the character skeleton, adjust the Physics Asset for each skeleton. The collision volume in the physical asset may be too small (causing the die to pass) or too large (causing the fabric to hang). Use UE’s Physics Asset Editor to modify the collision range of each skeleton to fit the character model as closely as possible.
  2. Solution to die problem:
    Increased fabric mesh resolution (more vertices and surfaces) to improve simulation accuracy.
    Output a high-resolution fabric mesh in Style3D and make sure you don’t simplify the model when importing to UE.
    Increase the rigidity of the fabric: If the fabric is too soft, it may cause self-insertion problems. Adjust the rigidity parameters of the fabric to make it more suitable for complex movements.
    Check the animation speed: If the character moves too fast, the fabric simulation may not respond in time. Increase the frequency of physical calculations by slowing down animations or enabling UE’s Substepping feature.
    Enable Self-Collision: In the physical material of the fabric, enable Self-Collision to avoid the fabric itself.
  3. Simulation accuracy problems: for example, the fabric deformation in the action is not natural, and the simulation results are inconsistent with the effect in Style3D.
    Adjust the physical Material parameters of the fabric in UE by optimizing the physical material parameters, such as:
    Bend Stiffness: Control the softness of the fabric.
    Friction: Prevent fabric from sliding unnaturally.
    Damping: Reduces the shaking of the fabric.
    Increase the physical simulation step: In the fabric component, increase the Solver Frequency (solution frequency) to improve the simulation calculation accuracy.
    Use a higher Substepping setting to allocate more computing resources to the fabric simulation.
    Make sure fabric parameters are consistent: Fabric parameters in Style3D and UE may differ. Make sure that the physical properties exported in Style3D are the same as the fabric material Settings in UE.

In the whole process, I tried to restore the effect of the clothes as much as possible by adjusting the size of the clothes, the coefficient of the clothing fabric and the animation action.

Leave a Reply

Your email address will not be published. Required fields are marked *