"Unity Magica Cloth from entry to detailed explanation" (4) MeshCloth mesh

1. Introduction to MeshCloth

A feature of MeshCloth is the ability to perform cloth simulations on mesh vertices.
This also applies to SkinningMesh.
MeshCloth is great for simulating complex motion such as skirts and collision detection.
However, since processing such as manipulating each vertex of the mesh and writing the results back to the skinned mesh occurs, the computational load increases accordingly.
MeshCloth also requires something called a "deformer" to deform the mesh.
Therefore, before constructing the MeshCloth, the Deformer needs to be set up first.

2. Role import settings

Before setting it up, you need to check the import settings of the model you want to use.
The following settings must be enabled:
insert image description here

3. Render deformer settings

First, you need to set up a render deformer in the renderer where the MeshCloth will be applied.
RenderDeformer has the ability to freely deform the mesh attached to the Renderer.
Let's take Unity-Chan

Guess you like

Origin blog.csdn.net/cxihu/article/details/127412534