Home Technical Talk

Maya MASH curve node - can i roll instances around a selected curve?

grand marshal polycounter
Offline / Send Message
Alex_J grand marshal polycounter

For each horizontal edge loop on this torso I have created a curve.

I add the curves to a MASH network, then instance some leaf shape mesh along it, like so:


I would like to adjust the roll amount for each specific curve, but it seems that I can only roll the meshes by adjusting the parent. Does anybody know, is there a way that I could just select a single input curve and adjust the local rotation of it?


There is some rotate values here:


but a couple issues:

  1. they don't do anything
  2. if they did do anything, i expect they work on all instances, not just a selected curve.


I think that I dont need to necesssarily do the roll with mash, I can tweak the curve itself by adjusting the control points. But I can't find a way to roll a curve. Adjusting rotation moves the entire curve in world space.

Replies

  • oglu
    Offline / Send Message
    oglu polycount lvl 666

    Are you need to animate this role? If not place all feathers and rotate them by hand. Yes that will take time but you have full control.

  • Alex_J
    Offline / Send Message
    Alex_J grand marshal polycounter

    No need to animate, i was just looking for something quicker than hand placing.


    what i ended up doing what just making a mash network for each curve and make a new target mesh for each as well. it was a bit of clicking, but then for each curve i can rotate by adjusting the linked target mesh.

    some final cleanup on individuals was still needed but at least by controlling an entire curve at a time, it saved some effort.

  • oglu
    Offline / Send Message
    oglu polycount lvl 666

    Im sure this could also be done with Bifrost. It would be more reusable and extendable.

  • Alex_J
    Offline / Send Message
    Alex_J grand marshal polycounter

    @oglu , i've never touched bifrost before, but yeah a quick glance looks like it might be helpful for this sort of thing. At least in this case, just doing the manual work was like 30 minutes, but if I have to do something similar again I'll see what what might be possible with bifrost. I do love me some node graphs :)

Sign In or Register to comment.