How to set different scale on a for each loop

   3703   3   0
User Avatar
Member
35 posts
Joined: 2月 2017
Offline
Hello

I'm a beginner. I need your help, please. I've already looked at many tutorials but without success.

I want to make an unity hda based on a cube copied X time. Each copy must take into account the bounding box of the previous mesh. each mesh can have a specific scale and at the end ordering of meshes can be tweakable.

I've made several tests, with a switch number of inputs are not fully parametric, with a copy is the case but I don't know how to set up scale for each copy and place them.

I've attached a scene if you can take a look thanks in advance.

Attachments:
scale_order_boundingbox.hiplc (157.8 KB)

User Avatar
Member
4 posts
Joined: 9月 2017
Offline
Is this what you are looking for?

With a multiparm you can loop over each piece and set a scale if you want to.
Once the scale is applied you can place them next to each other.
The Labs align and distribute does a good job at this placing cubes nicely next to other cubes.


gif: https://imgur.com/a/pMSiiIQ [imgur.com]
User Avatar
Member
35 posts
Joined: 2月 2017
Offline
Hey Simon,

Yes it's almost what I looking for thanks
I was wondering how to make the same with a box and copy sop instead of a merge to have procedural numbers of inputs.

I really need to learn deeper all the labs tools.
User Avatar
Member
35 posts
Joined: 2月 2017
Offline
following ur blog I've this result


I guess tweaking the target on the uniform scale expression to target merge inputs it's what you made on your gif
  • Quick Links