[MASH] How to get a distributed object to rotate around itself instead of the world center?

[MASH] How to get a distributed object to rotate around itself instead of the world center?

kurt.mitchell
Contributor Contributor
723 Views
3 Replies
Message 1 of 4

[MASH] How to get a distributed object to rotate around itself instead of the world center?

kurt.mitchell
Contributor
Contributor

Ok so I've visited a fair few links of people asking the same question, and it all seems to boil down to MASH using the world center as the objects pivot instead of the actual object - I've tried moving the pivot of said object to the world center, to itself, and to random areas in the scene - and it doesn't seem to stop the distrubuted objects from not wanting to rotate around the world center. Could someone please explain this to me in a bit more detail? I can't wrap my head around it.  

 

kurtmitchell_0-1675948240132.png

 

I want the objects in this box to essentially repeat, and rotate about their own axis, but when I add a rotational attribute, they do this. 

 

kurtmitchell_1-1675948287462.png

 

Clearly using the world center as the pivot point, but I've tried moving the original MESH's pivot and freezing transforms, I've tried grouping it to itself and adding the group into the repro objects, nothing seems to help?  

 

Thanks!

0 Likes
Accepted solutions (1)
724 Views
3 Replies
Replies (3)
Message 2 of 4

sepu6
Advisor
Advisor

Can you post the scene, is easier to help. If you can not then make a repro scene.

0 Likes
Message 3 of 4

kurt.mitchell
Contributor
Contributor
0 Likes
Message 4 of 4

sepu6
Advisor
Advisor
Accepted solution

When you instance something it needs to be at {0,0,0} that way it will work as expected.

I took your Packer_Red1 geo and put it back at the center then added a group so all transformations are back to zero (you can also freeze transform) and added it to the repro, then to move those instances that into the box add mash transform, that way all manipulation it will work as expected.  You can add an offset node to rotate as well after the fact

 

 

0 Likes