28-09-2021, 07:55 AM
Hi there,
You can use ObiCloth for that, but it sounds like overkill to me unless you want extremely detailed and precise behavior.
A piece of cloth that's flat on a surface (ironing table) has not much cloth dynamics going on. It's basically static.
So much simpler approaches would be good: for instance, move vertex positions towards the ironing table surface and recalculate the fabric normals. This can be easily done in Unity without any third-party physics engine, simply raycast to check which vertices are under the iron, then flatten them out and call mesh.RecalculateNormals().
You can use ObiCloth for that, but it sounds like overkill to me unless you want extremely detailed and precise behavior.
A piece of cloth that's flat on a surface (ironing table) has not much cloth dynamics going on. It's basically static.
So much simpler approaches would be good: for instance, move vertex positions towards the ironing table surface and recalculate the fabric normals. This can be easily done in Unity without any third-party physics engine, simply raycast to check which vertices are under the iron, then flatten them out and call mesh.RecalculateNormals().