Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can this cloth be used for a football goal net
#3
(27-07-2020, 07:10 AM)josemendez Wrote: Hi there,

ObiCloth was initially created out of need for this specific use case, also in a soccer game, so yes it can be done.

Keep in mind that the usual restrictions in timestep size and object velocity apply, as they do in any physics engine. Tunneling can happen under certain circumstances if the ball is too small/too fast, but this can be alleviated by using sub stepping.

Regarding performance, keep in mind that cloth simulation is always quite expensive. In our original use case, we also targeted mobile in addition to desktop platforms. In less powerful devices (iPhone 7 and lower) we had to fake the net simulation by using a simple spring force on the ball, and a vertex displacement shader that deformed the net based on the ball's position.

kind regards,

Edit: for completeness, here's ObiCloth used for a soccer net:

Can you send this project file's. I am trying to do something like this but i couldnt accomplish it.
Reply


Messages In This Thread
RE: Can this cloth be used for a football goal net - by furkiti - 19-10-2020, 07:47 PM