Cloth Actor¶
Cloths are used to simulate fabrics. In order to create a cloth you need:
Create ClothActor.
Create an empty GameObject and add a ClothActor component to it by clicking Add Component > MAGES > Mesh Deformations > Actors > Cloth Actor in the inspector
Assign a mesh and a Physics World to the ClothActor.
In the Mesh Field of the ClothActor component, assign the mesh that will be used to create the cloth. Also, assign a Physics World to the ClothActor component
Note
You can edit the kinematic particles using the editing tool, by pressing the ‘Edit Particles’ button in the inspector.
In the particles that appear on the scene, left click to make them kinematic (red color) and shift + left click to make them dynamic (green color).
Render the cloth.
To render the cloth, simply add a MeshRenderer to the GameObject and assign a Material to it.