Head w/ maya 6 Hair rotation

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 09 September 2004   #1
Head w/ maya 6 Hair rotation

Hello all,

My setup is as follows:

Hair grown from Scalp, Scalp Parented to Head Bone

When I rotate the head bone the hair does not follow through during the rotation. For example, when the head rotates from right to left, the head will rotate and end up looking out from the side of it's hair. The hair will flop around but not crisply rotate as it should. I have been trying different dynamics settings but I am not sure how to fix this issue. Should I be using constraints? How should I setup my dynamics field?

Thank you!
Never Give Up!
Old 09 September 2004   #2
Here is an image showing what is happening.

Never Give Up!
Old 09 September 2004   #3
Create a collide sphere constraint on all the hairs and parent this to the head, scaling it to
match the size of the head. It can protrude in front of the face a bit, but make sure it doesn't overlap the hair roots. You may also wish to create addition collide constraints for neck, shoulders and possibly the nose(the collide constraints are generally preferrable to geometry collision).

To keep the hair somewhat attached to the head near the root you can create a transform constraint on all the hairs. Parent the constraint to the head and make the pointMethod = Uparameter setting the Uparameter to 0.2 or some value near the hair root. This is like pinning a point partway down the hairs to the head. You can lower the stiffness on the constraint so that this looks more natural. Also you may wish to create additional transform constraints with different Uparameter values.

Also make sure that gravity is high enough for your scene scale.. if your head is large then gravity needs to be increased. The default gravity value is too low for most scenes.
You may also need to increase the stiffness a little, and possibly use rest curves.

Old 09 September 2004   #4
What do you mean by a "collide constraint"? Are you talking about a seperate object other than the characters head? Or an actual constraint option you can choose in maya, like aim, orient etc.? - Thank you!
Never Give Up!
Old 09 September 2004   #5
Under the hair menu:
create constraint->collide sphere (or cube)

Old 09 September 2004   #6
This is great. I can now animate the hair as it should move.

I am having caching problems now : "cache is not open"

Any ideas on this? When I go to save the scene I get that message... no batch render.

I know this has been talked about before, I am just not finding the right answer...
Never Give Up!
Old 09 September 2004   #7
I've not had this warning message, but is sounds like there is a problem copying the temporary playback cache to the permanent cache. If you had permission problems on the cache directory it could cause problems.. or perhaps it is overwriting a previous cache that
is not writable. Another problem could be if you have problems with the pathnames for
the cache directories.. certain characters don't work well.

Old 09 September 2004   #8
Thank you for your help Duncan.

I am also getting the error message: "Need a unique name among all disk caches."

Any ideas here?
Never Give Up!

Last edited by shamonsflame : 09 September 2004 at 05:29 AM.
Old 01 January 2006   #9
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:31 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.