Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Adding the wind direction from the nucleus to a curve

Adding the wind direction from the nucleus to a curve

Anonymous
Not applicable
787 Views
3 Replies
Message 1 of 4

Adding the wind direction from the nucleus to a curve

Anonymous
Not applicable

So I've been buildin a rig which has a few dynamics on it like dynamic ears and tail etc... and I would love to give the animator the chance to play with the wind. The problem is that every dynamic has a different nucleus so either I find a way to make everything just one nucleus or what I've been trying to do is taking a curve in the shape of an arrow and use her rotate to order the wind direction, but I can't seem to find a way to do so. The only way I've found is to make a new attribute with the wind direction, but I'm still trying to make it that if you rotate the arrow, the wind will blow in that direction. Any tips?

Accepted solutions (2)
788 Views
3 Replies
Replies (3)
Message 2 of 4

mcw0
Advisor
Advisor

First, there should only be one nucleus node.  This is so all dynamics is calculated in the same "world".  I'm not even sure how you'd get multiple nucleus nodes unless you specifically used "createNode nucleus".

 

It's been awhile but I believe the wind direction is just a normalized vector.  If you want a control that the user can rotate to set the wind direction, just group a locator to itself and set the offset of the locator to 1 on any of the translate axes.  Then connect the worldPosition of the locator to the wind direction of the nucleus node.

You should lock the translates and scales of the group node so that only rotations are allowed.

0 Likes
Message 3 of 4

Anonymous
Not applicable
Accepted solution

I've found this useful video

 

https://youtu.be/6GmprHkfb5k

0 Likes
Message 4 of 4

mcw0
Advisor
Advisor
Accepted solution

That video method is way more complicated than the method I suggested.  In Maya, there are multiple ways to do the same thing.  So choose the one you are happy with.  

In my method, I said you can place the locator 1 unit on any axis.  I forgot you mentioned you have an arrow curve.  The locator should be 1 unit in the direction of your arrow curve.

0 Likes