|
Engine²
Open-source game engine written in C++.
|
Create a cloth entity with mesh and transform for soft body simulation.
Create a cloth entity with mesh and transform for soft body simulationCreates a 2D grid of vertices in the XY plane, suitable for soft body cloth simulation. After creation, add a SoftBody component to enable physics:
| core | Engine core reference |
| info | Parameters for creating the cloth (width, height, spacing, position, rotation, scale) |
a cloth for soft body simulation: