Dforce hair or clothing collision with other objects.

edited May 2020 in The Commons

Bascially as the title says I am trying to figure out how to create a collision with other objects with dforce hair/clothing.  This would allow long hair/clothing to collide with a chair or bed.  Tried both parenting the chair and bed to the model and leaving the funiture not parented.  I purchased a dforce bed to try this too.  Mainly found it when a skirt clipped through the seat of a dining chair then noticed the hair was clipping through the back of the chair.  After a couple hours looking ofr answers or a tutorial I am posting here out of desperation.  I have no problems buying a tutorial if someone has one out there that is highly recommended.

 

The second image is and quick render after deleting the bed.  I did not rerun the simulation.

 

 

dforce fail.png
652 x 1014 - 248K
dforce fail2.png
652 x 1014 - 254K
Post edited by hot88stang_21e963c5c7 on

Comments

  • Silas3DSilas3D Posts: 619

    This is probably a resolution issue - if the bed isn't high enough resolution then the hair won't collide with it.

    Try subdividing it and resimulating, repeating until the hair collides. If the bed topology means it won't subdivide well (ie breaks apart or looks weird), add a plane with lots of polys as a collider for the hair to interact with.

  • fred9803fred9803 Posts: 1,564

    If the hair is already going through the bed when you start the draping it won't respond properly unless you start the simulation from the Memorized Pose position. Are you doing that?

    Make sure the bed is checked as Visible in Simulation, which should be on by default.

    If the chair was part of an instancing group note that collision will not work with an instanced object, only with the original object from which the instances were made.

  • So this 4 day weekend allowed me to do a lot of testing and tweeking.  I finally have it working.  Thank you for your advice.

     

    What was going on was the hair and skirt were already colliding with the chair.  As for the bed I never got it to work.  What I did do is add another plane to collide with then after simulation hide it.  However didn't think it threw enough because when I added the dforce blanket......   Will get it when I have more time.  Thanks again.

  • kenshaw011267kenshaw011267 Posts: 3,805

    blankets are pretty easy. Just create a plane abover the bed, well above whatever you want to cover, let it simulate and drop onto the bed. 

    Getting it to interact correctly with other dForce items is trickier. You'll need use an animated timeline andnot have it start to drop till the other items are in place.

  • You would really benefit from learning a little Blender. Just dropping a subdivided plane onto your figure is not going to look anywhere near realistic. People position blankets on themselves with specificity and precision :) With Blender 2.83, you could easily model the blanket and use the Cloth Brush to add realistic wrinkles and bunches.

  • 3Diva3Diva Posts: 11,751
    edited May 2020

    For more complex dropping like a figure laying on a bed with a blanket on her, you'll more than likely need to use the Animation Timeline. You'll want to start the beginning of the timeline with none of the figures touching any of the props. Say if you want the figure to be laying in the bed with a blanket on top - you might start the timeline with the figure floating above the bed in the laying down pose that you want her in, and have the blanket floating above her. Move to the center of the timeline and then move the figure to be on the bed and move the blanket to just right above the figure with maybe just a small gap between them. Then try running the simulation and the figure should move to the bed and the blanket should drop down onto the figure. Having the final position of the figure and props in the center of the timeline allows for the simulation to "settle" during the rest of the timeline - so that there is more natural-looking draping.

    There are some nice dForce simulation tutorials on youtube and some here in the forum as well. Esha has a lovely tutorial on dForce that I think is pretty helpful: 

    I believe around 31 min or so she talks about dForce interacting with things like chairs and other props.

    Post edited by 3Diva on
  • Thank you everyone for posting these suggestions.  I will carve some time soon to try them all out.

Sign In or Register to comment.