r/Maya • • 1d ago

MASH Issue with MASH - Instances Appear Far Outside the Target Plane

Thumbnail
gallery
1 Upvotes

I've been trying for the past day to use MASH to make a Chinese roof. It didn't work for some reason, so I've been troubleshooting a lot. The tile I want on the plane won't stay on the plane surface, but it goes way off the grid. I think I fixed it a bit, but now it's slightly offset from my plane. I can't understand why it wouldn't work; I reset and froze transformations, and also deleted history. I also already checked, and my Maya version is in centimetres.

I honestly don't know what else to try.

r/Maya • • Aug 15 '26

MASH Why does my jar only fill in these certain parts? MASH Dynamics Help

Thumbnail
gallery
4 Upvotes

I was following a tutorial of filling a candy jar using MASH Dynamics. I'm trying to fill a jar in maya, but it only seems to want to fill a certain portion of the jar, leaving the rest of the jar empty. I'm new to MASH and Maya in general. Any help is appreciated!

r/Maya • • Jun 10 '26

MASH Hide instance of mash with animated geometry

1 Upvotes

Hello, I'm having a problem with Mash. When I connect a cube to a visibility node on my Mash using a falloff, the grass blades are correctly hidden at the cube's location. However, when I do the same with an animated ABC or a model that I blend shape onto the ABC, it doesn't work. All the grass disappears. I'm using the same settings, though.

I've also tried changing them, but the grass doesn't reappear. Does anyone have any ideas?

I'm also using a script to automatically generate my connections:

import maya.cmds as mc

from projectConfig.mayaConfig import MAYA_ROOT


def get_mash_visibility_nodes():
    return mc.ls(type="MASH_Visibility", recursive=True)


def get_mash_python_nodes():
    return mc.ls(type="MASH_Python", recursive=True)


def get_char_props_mesh():
    list_shape = []
    list_main_grps = [
        f'{MAYA_ROOT["long_name"]}|PRP|SURF',
        f'{MAYA_ROOT["long_name"]}|PROP|SURF',
        f'{MAYA_ROOT["long_name"]}|CHAR|SURF',
        f'{MAYA_ROOT["long_name"]}|CHAR|GROOM',
        f'{MAYA_ROOT["long_name"]}|VEH|SURF',
        f'{MAYA_ROOT["long_name"]}|VEG|SURF',
        f'{MAYA_ROOT["long_name"]}|VEGET|SURF',
    ]
    for grp in list_main_grps:
        if mc.objExists(grp):
            for shape in mc.listRelatives(grp, allDescendents=True, fullPath=True):
                if 'CHAR' in shape and 'body' in shape and 'Shape' in shape and 'GEO' in shape:
                    if not 'href' in shape:
                        list_shape.append(shape)
                elif 'CHAR' in shape and 'Body' in shape and 'Shape' in shape and 'GEO' in shape:
                    if not 'href' in shape:
                        list_shape.append(shape)
                elif 'CHAR' in shape and 'cloth' in shape and 'Shape' in shape and 'GEO' in shape:
                    list_shape.append(shape)
                else:
                    if not 'CHAR' in shape and 'Shape' in shape:
                        list_shape.append(shape)
    return list_shape


def get_mash_python_node(mash_vis):
    mash_python = mash_vis.replace("Visibility", "Python")
    if mc.objExists(mash_python):
        return mash_python
    else:
        return None


def add_mash_falloff(mash_vis, mash_python, list_shapes, search_radius=1.0, inner_radius=0.3):
    created_falloffs = []
    if not mash_python:
        return None

    for shape in list_shapes:
        if mc.objExists(shape):
            print(shape)
            try:
                idx = list_shapes.index(shape)
                trs = mc.listRelatives(shape, parent=True, fullPath=True)[0]
                meshName = trs.split('|')[-1].split(':')[-1].replace("msh", "")

                falloff_name = mash_vis.split(':')[-1].replace("Visibility_scene", 'Falloff') + meshName + '_' + str(idx)
                falloff_trs = mc.createNode('transform', name=falloff_name)
                falloff_node = mc.createNode("MASH_Falloff", name=falloff_name+'Shape', parent=falloff_trs)

                mc.setAttr(f"{falloff_node}.falloffShape", 6)
                mc.setAttr(f"{falloff_node}.invertFalloff", True)
                mc.setAttr(f"{falloff_node}.excludeInterior", False)
                mc.setAttr(f"{falloff_node}.searchRadius", search_radius)
                mc.setAttr(f"{falloff_node}.innerRadius", inner_radius)
                mc.setAttr(f"{falloff_node}.meshMode", 1)

                mc.connectAttr(f"{shape}.worldMesh", f"{falloff_node}.shapeIn")
                mc.connectAttr(f"{trs}.worldMatrix", f"{falloff_node}.shapeMatrix")
                mc.connectAttr(f"{mash_python}.outputPoints", f"{falloff_node}.falloffIn")
                mc.connectAttr(f"{falloff_node}.falloffOut", f"{mash_vis}.strengthPP[{idx}]")

                created_falloffs.append(falloff_node)
            except Exception as e:
                print(e)
                pass

    return created_falloffs

def create_scene_vis_mash(mash_vis):
    new_vis_name = mash_vis.split(':')[-1]+'_scene'
    visibility_node = mc.createNode("MASH_Visibility", name=new_vis_name)
    waiter_node = mash_vis.replace('_Visibility', '')
    mc.connectAttr(f"{visibility_node}.outputPoints", f"{waiter_node}.inputPoints", force=True)
    mc.connectAttr(f"{mash_vis}.outputPoints", f"{visibility_node}.inputPoints", force=True)
    return visibility_node


def connect_cam_to_mash(mash_vis):
    mc.setAttr(f"{mash_vis}.enableFrustum", 1)
    mc.setAttr(f"{mash_vis}.useFilmGate", 0)
    mc.setAttr(f"{mash_vis}.frustumBorder", 1.5)

    for camera in mc.ls(type="camera", long=True, recursive=True):
        if 'ROOT' in camera:
            mc.connectAttr(f"{camera}.message", f"{mash_vis}.camera", force=True)
            break


def mask_mash():
    for mash_vis in get_mash_visibility_nodes():
        connect_cam_to_mash(mash_vis)
        python_node = get_mash_python_node(mash_vis)
        vis_scene = create_scene_vis_mash(mash_vis)
        add_mash_falloff(vis_scene, python_node, get_char_props_mesh())


mask_mash()

r/Maya • • Jun 02 '26

MASH MASH Bake Instancer changes position/rotation after baking dynamic animation — am I missing something?

Thumbnail
gallery
3 Upvotes

Quick question about Maya MASH.

I have a MASH setup with dynamic animation that looks correct in the viewport. I go to a specific frame and use Bake Instancer, but the resulting geometry comes out with different position/rotation than what I see in the MASH preview (as shown in the screenshots).

I can’t figure out what’s causing it.

Has anyone seen this before or knows how to fix it? I’ve been stuck on this for a while and would really appreciate any help.

r/Maya • • May 12 '26

MASH Issue with MASH. Distrbute Node and Curve Node.

Post image
5 Upvotes

Hey Guys, I am using MASH to replicate objects around an object and I am using the combination of Distribute Node and Curve Node. I am doing the basic things like moving the asset to the center of the origin, deleting history and freezing transformation but it still doesn't work. I am doing this in my main project file but when I use the same steps in a new maya file it works. Why is that and is there a way that i can do it some other way which is more efficient? I am attaching an image of the issue I am facing in my main project file. Thank you.

r/Maya • • Apr 06 '26

MASH Anyone can tell me why MASH is behaving this way?

2 Upvotes

Im trying to make a roof, and as a test I made these green tiles, I am trying to get them to align with a part of my spiral shaped roof (the highlighted part), and for some reason all of the tiles have their rotation randomized like that. (distribution is on face center). Does anyone know why?

r/Maya • • Mar 01 '26

MASH How do I attach the mesh to the sphere?

Post image
8 Upvotes

I followed this tutorial https://www.youtube.com/shorts/TemsYMX8hVU

so I could make a bush but I cant figure out why the grass just floats around the sphere. How do I get the grass clump to attach to the sphere?

r/Maya • • Oct 29 '25

MASH How to make MASH curve distribute facing outward

Post image
10 Upvotes

Some of the spikes are pointing in the wrong direction. I can't figure out if the problem is with the curve or with the MASH settings. Does anyone know how to fix that?

r/Maya • • Mar 10 '26

MASH How do I get the MASH Flight node to simulate/animate?

1 Upvotes

I wanted to try out the MASH flight node, and followed tutorials online. The tutorials are made with Maya 2017/18, I have Maya 2022,2023 and 2026 installed.
In the tutorials after attaching the flight node to the Mash network, it automatically starts to simulate on playback.

For me nothing happens on playback. Does anyone know what I am missing, is a crucial plugin missing? Do I need to check some box first, change anything in prefs? Or is it just broken and unusable for later Maya versions, maybe due to the newer python version?

in 2022 there is a warning message popping up at least
// Warning: file: D:/Program Files/Autodesk/Maya2022/plug-ins/MASH/scripts/MASHinViewMessage.mel line 40: Flight: Playback speed should be set to Play Every Frame. //

for the newer versions, nothing.

r/Maya • • Feb 19 '26

MASH Some help with trying to create a moving alpha mask from a collider

2 Upvotes

Hi, im trying to use MASH colour node to create an alpha mask of where the sphere clips through the plane so I can create a hole from where it is in arnold - im creating a waterfall. I have this setup but the sphere is influencing the alpha of the entire plane not just where the sphere is, what am i doing wrong?

r/Maya • • Feb 25 '26

MASH MASH going through collider object?

5 Upvotes

I'm trying to make the ball go through the tube inside, I deleted history for the colliding meshes, gave them a little thickness too. What am I doing wrong?

r/Maya • • Mar 02 '26

MASH Baking MASH animation to export to Unity

2 Upvotes

https://reddit.com/link/1rinog7/video/aas2u28vglmg1/player

For context, this is my first time using MASH so I don't really know what I'm doing. When I tried to bake the instancer, arrows with a completely different orientation to both the network and the original arrow it's based on duplicate over the animation. So my questions would be how do I fix this, and what is an instancer, what does it do etc.

r/Maya • • Dec 21 '25

MASH Why is Maya "forgetting" my instancer settings?

1 Upvotes

I'm trying to add a rotation to the particles, but as you can see it's not working.

I froze transformations and deleted history, followed tutorials and tried closing and reopening Maya but I just don't understand what I'm missing?

r/Maya • • Dec 17 '25

MASH Why is the instancer doing this?

2 Upvotes

Hi! I'm trying to create a bowl full of dog food. As you can see, everything works fine until I try to use the dog food mesh as the particle for the simulation, why is this happening and how can I fix it?

r/Maya • • Nov 11 '25

MASH Need advice on where to place UV seams after beveling (Maya)

Post image
2 Upvotes

r/Maya • • Nov 23 '25

MASH Issues with MASH using Curves Maya.

1 Upvotes

Why are some of my treads for my tracks inverted? I need all the treads facing Inwards.

r/Maya • • Jun 27 '24

MASH [Cyberpunk Afterlife Bar] - Topology

Post image
117 Upvotes

r/Maya • • Oct 23 '25

MASH vertex are showing through the object from the front camera.

1 Upvotes

The vertices are showing through the object from the front camera; I don't think it was like this before. Does anyone know how to stop them from showing through?

r/Maya • • Oct 20 '25

MASH Need help creating a crowd-like MASH setup (march → grid formation) in Maya 2025

2 Upvotes

Hey everyone,
I’ve just started learning Mash I'm trying to create a layout/crowd-style shot using Maya 2025.

Here’s what I’m trying to do:

  • About 50 characters march out of a building in single file, one after another.
  • As they clear the door, they spread out into a perfect grid formation across a football field.

I was thinking I'd use the linear distribution node, then blend to a grid with a time offset. But I can't see how to add another distribution node or change from one to another. Is that possible or am I going about this wrong? Thank you!

r/Maya • • May 07 '25

MASH Need help with animating with mash (i am a beginner)

11 Upvotes

Basically what i did was i tried to increase and decrease the size of the selected object's instances with the help of MASH but when i play the animation it doesn't work as it should. Am a beginner and Thank you in advance

r/Maya • • Aug 15 '25

MASH Mash Editor - What to do after details are set using Mash?

1 Upvotes

Hi, I'm still pretty early into my Maya learning, so this may be basic, but I'm not finding answers with standard Google/Reddit searches.

I used the Mash Editor to set rivet details on parts of the robot I am modelling. It worked great, and I have deleted the history/nurb curve. Now what?

Do folks just leave these details as a separate item in the outliner (grouped/parented to the main model), or do you combine the meshes, and add dozens and dozens of new line cuts to get rid of all the ngons?

Or is there a simpler solution for combining the objects that I am unaware of?

Let me know. Thanks in advance!

r/Maya • • Jun 19 '25

MASH Need help, i am trying to create animation of these atom accumulate when channel is closed and go through when it is opened. How should i go about this?

3 Upvotes

i have used curve node and random node on sphere. i cannot understand how i can make them stop when channel is closed and accumulate to go through together when it opens. Plz Help <3

r/Maya • • Dec 16 '24

MASH MASH instance along straight curve, yet instances are slightly rotated

1 Upvotes

the curve is a bezier with 2 corner at each end, perfectly straight

Calculate rotation is OFF, because my use case requires it.

r/Maya • • Mar 31 '25

MASH Need help duplicating along curve

2 Upvotes

No matter what I try I don't get any object to follow any curve. I even broke it down to the most simple objects and curves but it still wont follow. With more complex objects it's even more random where they get placed. I followed multiple youtube videos step by step. I red somewhere that it won't work if Maya is set to meters instead of inches but that didn't help at all. If someone knows what I am doing wrong please help I feel like I'm going insane.

r/Maya • • Apr 07 '25

MASH MASH grass

5 Upvotes

I've been trying to create myself a landscape in maya, and I found that I can lay down grass on the ground using MASH. problem is my landscape is very, very big and if i want to cover the whole terrain, my geometry goes up to billions, crashes my maya AND PC. Is there a way I can limit the geometry and save my PC?