A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
hair collider problems
Posted: 03 February 2012 05:30 PM   [ Ignore ]  
Total Posts:  10
Joined  2007-05-26

Hi wondering how have the hair collider prevent the hair from going through the geometry. I try adding the collider to the polygons but is has no effect.  Any tips?

thanks

Profile
 
 
Posted: 13 February 2012 09:46 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  365
Joined  2006-05-17

http://www.cineversity.com/vidplaytut/hair_overview_the_hair_object_part_17
jump about half way through.

Profile
 
 
Posted: 13 February 2012 10:34 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  10
Joined  2007-05-26

Thanks for the help!

Profile
 
 
Posted: 21 June 2012 06:55 AM   [ Ignore ]   [ # 3 ]  
Total Posts:  14
Joined  2008-07-12

Hi Patrick,
first of all great guide for the Hair module. Very detailed in every option…

My problem is with the collider of the hair.
So here in my pictures i have some reference images that i’ve made.
The script says that the brush paints and reveal the yellow line and of course the hair of the brush follows the movement of the brush.
I applied dynamics to the hair so the hair attach to the floor and not go inside the floor.
I add a collider tag to the floor and plus i enable the Rigid at the Dynamics for the Hair object.
Lastly, i add keyframes to the Collisions at the Collider Tag to enable/disable it when attached to the floor.
It seems that some of the hairs still goes inside the floor and it’s not very natural.
I think i miss something.
I use v.13 of cinema. If you need to attach the c4d file, it’s not a problem.

Thanks in advance

Profile
 
 
Posted: 21 June 2012 02:23 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  365
Joined  2006-05-17

Are you using a floor object or a polygon object as the collider?
A scene file always helps smile
You only need to send the brush and hair and floor…anything else can be stripped out.

Profile
 
 
Posted: 21 June 2012 05:09 PM   [ Ignore ]   [ # 5 ]  
Total Posts:  14
Joined  2008-07-12

Well, it’s just a polygon object and not a floor.
I think i found what cause the problem, the plane facing in wrong direction, if you rotate the plane 180o it works. But still i don’t get it. Why that makes it to not work if facing wrong?
Anyway, i wish i can attach the file but i get an error message: The filetype you are attempting to upload is not allowed.
I made a zip file and i have that error.

Profile
 
 
Posted: 21 June 2012 06:37 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  365
Joined  2006-05-17

Ah, well I’m happy you managed to come across the solution.
For many dynamics calculations in cinema 4d the normal direction of the colliding geometry matters.
You’ll find this in thinking particles, the collision deformer and others.
Looks like that is what the issue is if rotation 180 fixed it. That would change which direction the normals were facing.

Can you use an upload service?

Profile
 
 
Posted: 21 June 2012 06:40 PM   [ Ignore ]   [ # 7 ]  
Total Posts:  14
Joined  2008-07-12

Yes, you’re right.. normal direction.
Thanks for your reply.. I’ll try to upload it later because the website doesn’t let me.. it says something about MIME files..
Anyway, thanks again

Profile
 
 
   
 
 
‹‹ looping particles      Corrupt Xref files ? ››