|
Engine²
Open-source game engine written in C++.
|
Generate a cloth mesh (2D grid in XY plane).
Generate a cloth mesh (2D grid in XY plane)Creates a grid of vertices suitable for soft body cloth simulation. The mesh is generated in the XY plane, facing +Z direction.
| width | Number of vertices along X axis (minimum 2) |
| height | Number of vertices along Y axis (minimum 2) |
| spacing | Distance between adjacent vertices (default: 0.1) |
a cloth for soft body simulation: