Cloth Deformer
Method #
This node applys a Cloth Simulation to the connected mesh.
Cloth behaves best with:
- Meshes primarily built from Quads
- Tris are supported, but wont use shearing forces.
- N-gons are supported, but will essentially be automatically broken up into tris, and results may be unpredictable.
- Meshes built with a consistent polygon density.
- Because of the springy nature of the cloth, inconsistent and broken topology can generate unpredictable results.
- Best practice is to render a low res sim and subdivide after. Greater polygon density can generate more detailed results, but at significant performance cost. Look to find a balance for what your looking for.
- For soft bodies, best to use a closed mesh.
Parameters
Parameter Details
Gravity Uniform force which pushes the cloth in the -y direction. Set to 0 for ‘zero-g’ effects.
Update FPS The frame rate step of the cloth system, per second. An update frame rate of 240 in a project running at 60 fps, 4 update steps will be executed per frame. If a frame is dropped, more steps will be added to other frames to maintain simulation quality, up to the max update steps cap.
Min Update Steps The minimum number of update steps per frame. if the frame rate is running very high, this can force extra steps to improve quality.
Max Update Steps The maximum number of update steps per frame. if the frame rate is running low, this caps the updates per frame to improve performance.
Dampening Reduces the velocity of all the forces acting on the cloth over time. High values can make the simulation more stable, but can also smooth out and slow down all the forces acting on the system.
Air Drag How much movement of the cloth is resisted by the air. Useful for dampening movement of the cloth with minimal affect to the cloth behaviour.
Spring Model Control how the internal springs are used to model the cloth simulation.
- Stiff : Uses a sharper stiffness curve, resulting in a cloth sim which reacts quickly to being stretched.
- Flexible : Uses a smoother stiffness curve, results in a stretchier and more flexible cloth sim.
Stiffness How much the cloth resists stetching and compressive forces along each edge of the mesh. High values can make the cloth appear stiffer, and less flexible.
Shear Stiffness How much the cloth resists shear forces, which stretch and compress the cloth diagonally across polygons. High values can make the cloth appear stronger, and less flexible. Has no affect on non-quad polygons.
Spring Dampening Dampens the forces applying to the stiffness and shearing forces, helping them to settle quicker over time.
Rest Length Scale Multiplies the current length of each edge in the cloth system to give it an initial compression or tensions. Useful for making a cloth which shrinks or expands.
Use Bending Springs Enable the use of bending forces in the cloth simulation.
Bend Stiffness How much the cloth resists bending forces. Higher values can a creates a softer and rounder cloth shape while lower values can create a more crumpled and crinkled shapes.
Bend Dampening Dampens the forces applying bend forces, helping them to settle over time.
Self Collisions When enabled, the cloth will run extra tests to make sure it doesnt collide with itself. Disable for increased performance, but less accuracy in some cases.
Collision Thickness Thickness of the cloth surface used for self intersections.
Volumetric Pressure A constant outward pressure which pushes towards the Target Volume. Higher values increase acceleration to the target volume, but can introduce instability.
Target Volume The target volume the Pressure is pushing towards, defined as a multiple of the initial volume. Only functions when Volumetric Pressure is greater than 0. Values less than 1 will shrink the cloth, while higher values will expand the cloth.
Constant Pressure A constant pressure force applied to the cloth surfaces, disregarding any target volume. Negative values will shrink the cloth, positive values will expand the cloth.
Inputs
Parameter | Details |
---|---|
Gravity | Uniform force which pushes the cloth in the -y direction. Set to 0 for ‘zero-g’ effects. |
Update FPS | The frame rate step of the cloth system, per second. An update frame rate of 240 in a project running at 60 fps, 4 update steps will be executed per frame. If a frame is dropped, more steps will be added to other frames to maintain simulation quality, up to the max update steps cap. |
Min Update Steps | The minimum number of update steps per frame. if the frame rate is running very high, this can force extra steps to improve quality. |
Max Update Steps | The maximum number of update steps per frame. if the frame rate is running low, this caps the updates per frame to improve performance. |
Dampening | Reduces the velocity of all the forces acting on the cloth over time. High values can make the simulation more stable, but can also smooth out and slow down all the forces acting on the system. |
Air Drag | How much movement of the cloth is resisted by the air. Useful for dampening movement of the cloth with minimal affect to the cloth behaviour. |
Spring Model | Control how the internal springs are used to model the cloth simulation.
|
Stiffness | How much the cloth resists stetching and compressive forces along each edge of the mesh. High values can make the cloth appear stiffer, and less flexible. |
Shear Stiffness | How much the cloth resists shear forces, which stretch and compress the cloth diagonally across polygons. High values can make the cloth appear stronger, and less flexible. Has no affect on non-quad polygons. |
Spring Dampening | Dampens the forces applying to the stiffness and shearing forces, helping them to settle quicker over time. |
Rest Length Scale | Multiplies the current length of each edge in the cloth system to give it an initial compression or tensions. Useful for making a cloth which shrinks or expands. |
Use Bending Springs | Enable the use of bending forces in the cloth simulation. |
Bend Stiffness | How much the cloth resists bending forces. Higher values can a creates a softer and rounder cloth shape while lower values can create a more crumpled and crinkled shapes. |
Bend Dampening | Dampens the forces applying bend forces, helping them to settle over time. |
Self Collisions | When enabled, the cloth will run extra tests to make sure it doesnt collide with itself. Disable for increased performance, but less accuracy in some cases. |
Collision Thickness | Thickness of the cloth surface used for self intersections. |
Volumetric Pressure | A constant outward pressure which pushes towards the Target Volume. Higher values increase acceleration to the target volume, but can introduce instability. |
Target Volume | The target volume the Pressure is pushing towards, defined as a multiple of the initial volume. Only functions when Volumetric Pressure is greater than 0. Values less than 1 will shrink the cloth, while higher values will expand the cloth. |
Constant Pressure | A constant pressure force applied to the cloth surfaces, disregarding any target volume. Negative values will shrink the cloth, positive values will expand the cloth. |
Name | Description | Typical Input |
---|---|---|
Collision Nodes | TBC | TBC |
Force Affectors | TBC | TBC |
Falloff Node | TBC | TBC |
Generated Weightmap | TBC | TBC |
Transform Modifiers | TBC | TBC |
Target Node | TBC | TBC |
Local Transform Override | TBC | TBC |
Position X | TBC | TBC |
Position Y | TBC | TBC |
Position Z | TBC | TBC |
Rotation Heading | TBC | TBC |
Rotation Pitch | TBC | TBC |
Rotation Bank | TBC | TBC |
Scale X | TBC | TBC |
Scale Y | TBC | TBC |
Scale Z | TBC | TBC |
Get World Position X | TBC | TBC |
Get World Position Y | TBC | TBC |
Get World Position Z | TBC | TBC |
Blend Amount | TBC | TBC |
Animation Speed | TBC | TBC |
Inner Range | TBC | TBC |
Outer Range | TBC | TBC |
Falloff Curve Power | TBC | TBC |
Gravity | TBC | TBC |
Update FPS | TBC | TBC |
Air Drag | TBC | TBC |
TBC | TBC | |
Shear Stiffness | TBC | TBC |
TBC | TBC | |
Spring Dampening | TBC | TBC |
Bend Dampening | TBC | TBC |
Bend Stiffness | TBC | TBC |
Collision Thickness | TBC | TBC |
Pressure | TBC | TBC |
Volume Scale | TBC | TBC |
Constant Pressure | TBC | TBC |
Spring Length Scale | TBC | TBC |
Pressure Weightmap | TBC | TBC |