Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Problem with surface collision
#9
(04-04-2022, 08:26 PM)josemendez Wrote: Yes,  simply call cloth.Tear(), passing the structural element you want to tear. After you're done tearing elements, you need to call cloth.UpdateDeformableTriangles() one to update the mesh triangles.

See the API docs. You can also check out ObiTearableCloth.cs for reference: its ApplyTearing method simply iterates trough all elements, sorts them by stretching force, and calls Tear() on the first few.

Is it possible to "cut" cloth via script for regular cloth blueprint while enabling surface collision?
Reply


Messages In This Thread
Problem with surface collision - by snowtv - 30-03-2022, 08:37 PM
RE: Problem with surface collision - by snowtv - 31-03-2022, 04:24 PM
RE: Problem with surface collision - by snowtv - 01-04-2022, 03:26 PM
RE: Problem with surface collision - by snowtv - 04-04-2022, 04:29 PM
RE: Problem with surface collision - by snowtv - 06-04-2022, 07:51 PM
RE: Problem with surface collision - by snowtv - 07-04-2022, 04:22 PM
RE: Problem with surface collision - by snowtv - 07-04-2022, 08:33 PM
RE: Problem with surface collision - by snowtv - 13-04-2022, 03:32 PM
RE: Problem with surface collision - by snowtv - 18-04-2022, 04:15 PM