Unity 5.0.x Cloth physics issue.

Hi There,

Actually I was looking for “Anthony Yakovlev” (Unity 5.x physics dev), but couldn’t find him in forum (may be someone can help me to reach him out).

Here is the question I wanted to ask.

This is regarding Cloth physics issue in unity 5.0.1. I am using cloth physics for Football goal-post in one of mine sports simulation project.

Result:
When football hit the net, It should interact with the ball and also net should stop moving the ball further. and Here is the ref from Unity 3.x cloth physics:

Issue: When ball is thrown to goal post with speed, it is going through the net and it’s not getting stop from the net. Also if we tried moving ball slowly to net then it is acting like net is interacting with the ball.

And here is the SAMPLE PROJECT :
https://www.dropbox.com/s/657z1t11ozrba9g/ClothTest.zip?dl=0

Steps we tried :

  • We added Rigidbody to net which is having the cloth component with mass value 1000.
  • We also added Mesh collider to stop the ball getting through the ball.

Kindly check this on your free time. and if it is possible forward this to “Anthony Yakovlev”.

Hey! Did someone just say my name three times? Here I am. :wink:

No good news for you this time though, unfortunately.

PhysX 3 dropped support for what was called InteractiveCloth prior to Unity 5. So the new Cloth component is designed for use only with characters – to get clothes like capes, T-shirts, etc. You can still use the new Cloth for simple flags, but because there is no longer any force feedback applied by a cloth instance to the touched rigidbodies, you can’t make a ball bounce from a cloth piece. Tearing support has also gone. Have you seen this by the way: High-performance physics in Unity 5 | Unity Blog ?

Unity 5.0 has nothing to replace InteractiveCloth with out of the box I’m afraid, so a workaround that would suit your particular project might be needed to be found. Could it be a box trigger plus a skin mesh with a couple of bones on ConfigurableJoints that get affected randomly from a script for bouncy effect?

Anthony