Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tearable cloth
#2
(23-09-2021, 12:40 PM)Bubu101 Wrote: Hi there,

Is there a way to start to tear a cloth without the physics engine?
In the sample we throw a sphere with a collider, but is there a way to do this with raycasting?
Like, somehow detecting where the cursor is pointing and start to tear in a certain place of the cloth?

Thanks!

Yes, you can combine spatial queries with tearing. See:
http://obi.virtualmethodstudio.com/manua...eries.html

Cloth has a Tear() method to which you can pass a structural element. See the API docs for details, let me know if you need help with it.

kind regards,
Reply


Messages In This Thread
tearable cloth - by Bubu101 - 23-09-2021, 12:40 PM
RE: tearable cloth - by josemendez - 23-09-2021, 12:50 PM