5
$\begingroup$

I have two chairs, a cloth piece falling on it and then a helmet falling above the cloth on one of the chairs. Whatever the setting I'm trying I cannot get the helmet fall nicely on the chair and interact naturally with the cloth. Right now I have following:

  1. the helmet is falling down
  2. the cloth is falling down
  3. the cloth is interacting with the chairs naturally
  4. in the process of falling the helmet gets pushed by the cloth piece far away (as if it would be very hard surface).

https://youtu.be/zmyO6NA9R1U

animated

I also read that soft body physics might be a solution, but it didn't work in my case and the rendering times are getting expanded.

The cloth has settings: 5/M, 10/s, 15/b, (here I tried almost everything) rigid body is off, Collision physics is off

Helmet settings: Right body active, mass 10, all other physics are off.

Right now almost all the other settings (except cloth physics) are default.

Would be glad to get some help!


Edit : Amended the Rigid Body Collision shape to 'Mesh' and this helped with allowing the helmet to collide with the cloth but now the cloth is being forced through the chair.

animated2

$\endgroup$
  • $\begingroup$ Can you post an animation of the motion - this might give some clues as to what’s going on. $\endgroup$ – Rich Sedman Feb 22 '18 at 17:24
  • $\begingroup$ Okay will try it tonight and will send a link $\endgroup$ – Ira Konyukhova Feb 22 '18 at 18:56
  • $\begingroup$ @RichSedman can I upload the video on this website? this is my first question here and I don't know how to add the files to the thread. Thanks for helping $\endgroup$ – Ira Konyukhova Feb 22 '18 at 20:59
  • $\begingroup$ youtu.be/zmyO6NA9R1U $\endgroup$ – Ira Konyukhova Feb 22 '18 at 21:17
  • 1
    $\begingroup$ Most likely it's a problem with the collision bounds of the chair. In the Physics panel of the chair, check the Rigid Body Collistions 'Shape' - it defaults to 'Convex Hull. If it is set to that (or anything other than 'Mesh') then try changing it to 'Mesh' and see if that helps. $\endgroup$ – Rich Sedman Feb 22 '18 at 22:10
5
$\begingroup$

For rigid body and cloth/soft body simulations there are a number of things you need to be careful of.

  1. For the Rigid Body simulation you need to ensure you select the correct 'Shape' for the Rigid Body Collisions. The default option is 'Convex Hull' which if fine for objects which are rolling over a flat surface but since it doesn't allow for any concave surfaces (such as the indentation at the seat of the chair) it is not good for smaller objects colliding with the body. Therefore, in this situation ensure you set the Shape to 'Mesh' to allow the actual mesh shape to be used for collision. This is less efficient (since the engine needs to calculate collision for all surfaces, not just an outer 'shell') but produces more accurate results. Note that you should set this for each rigid body.

rigid body collision

  1. Ensure to set sufficient 'steps' in the cloth simulation. More steps will result in more time to calculate the simulation but will produce much more convincing results - especially where objects are hitting the cloth at high speed. Using a larger number of steps should avoid problems such as the fast moving object passing through the cloth or the cloth getting forced through the other geometry.

cloth settings

  1. Ensure to carefully set the Collision Settings - it's very tempting to just add the 'Collision' and forget about what the actual settings mean and leave them set to the defaults or inappropriate settings. For interacting with cloth the key settings are obviously the Soft Body and Cloth settings and these consist of Outer and Inner thresholds. The Outer dictates how close to a surface the cloth can get before it is pushed away while the Inner controls how elements of the cloth that have been pushed into the surface are repelled back out of the surface. Note that you should generally avoid setting the Inner to more than 50% of the minimum depth of the mesh - ie, if the thinnest part of the mesh is 1 Blender Unit in width then do not set this to more than 0.5 - otherwise problems can occur where cloth that penetrates below the surface is effectively pushed through to the other side rather than being repelled. The 'Outer' should be kept fairly small to prevent gaps between the surface the the colliding cloth.

collision settings

Note that your first issue was caused by the Rigid Body 'Shape' - set this to 'Mesh' to allow the rigid bodies to react to the actual shape of the mesh (rather than a simplified convex hull).

From the second animated example, it appears that the helmet's collision 'outer' is such that it is repelling the cloth before it even gets close enough to touch it. The 'inner' collision of the chair is then presumably repelling the cloth through the surface. You should reduce the 'Outer' of both the helmet and the chair to close to '0' and adjust the 'inner' of each mesh's collision settings to a value that is not more than 50% of the thinnest part of the associated mesh. This should then produce a more stable simulation, similar to this :

animated

Blend file included

$\endgroup$
  • $\begingroup$ Wow thanks a lot. I will try to do it on Monday and will notify you about the results. $\endgroup$ – Ira Konyukhova Feb 24 '18 at 21:53
  • $\begingroup$ Thanks again it worked! For even smoother result I just animated the helmet and didn't apply active rigid body to it. If you like I can post the video of the result $\endgroup$ – Ira Konyukhova Feb 28 '18 at 10:02
  • $\begingroup$ @IraKonyukhova Brilliant - glad to help. Yes - I'd love to see the result. $\endgroup$ – Rich Sedman Feb 28 '18 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.