MASH Placer and Breakout node

MASH Placer and Breakout node

lucasridley
Enthusiast Enthusiast
659 Views
1 Reply
Message 1 of 2

MASH Placer and Breakout node

lucasridley
Enthusiast
Enthusiast

I'm placing MASH instances with the placer node, then connecting meshes with zero'd out transforms to these placed MASH instances with connecting the translations in the Breakout connection window.

 

The problem is that because the placer instances have world translations, and the meshes being connected to them are zero'd out, it adds the placer translations onto meshes, meaning, if a mesh's transforms are frozen and zero'd but 5 units on the world x axis for example, and a MASH placer is placed in right at it's center (so also 5 world units in x), and then you connect the translates of these two, the mesh will now be at 10 on the x-axis and not at the center it shared with the placer instance.

 

How do you either, freeze transforms on a placer before connecting it to a breakout, or how do you offset the mesh in the negative of exactly the position of the placer point? Or connect the two in the Breakout Connection editor with an offset, like you'd do with a parent constraint kind of thing?

 

I'd like to just attach meshes to the points without getting this big offset, as it's currently unusable for that reason. Thanks!

 

0 Likes
660 Views
1 Reply
Reply (1)
Message 2 of 2

lucasridley
Enthusiast
Enthusiast

Okay, so I've made some progress, but it seems like a lot of work to do for each piece of mesh I'm trying to attach to each placer instance, maybe there could be a script for.

 

I opened the node editor, added a multiply node between the translate connections of the breakout node [0] and the piece of mesh that corresponds with that [0] mash instance piece, made the multiply node input 2 as -1, then break the connection, so now the mesh piece is offset in the opposite direction it had been being offset by, then freeze transforms of the mesh on translate here. Then reconnect the mash translate connect and the mesh snaps to its original position, in the same spot as the placer, and works the way I'd expect. whew. now do that n# of times Smiley Surprised

0 Likes