Jon8
(Jon)
August 10, 2022, 10:49am
1
Hey all, Trying to find out how to spawn rectangles with their centres being aligned on each point of a PopGen and not their plane ‘0’.
which function(s) do i need to be able to shift it from the X,Y plane centre to the centre of a rectangle who’s dimensions are random?
many thanks!
you could spawn them immediately centered, like this.
rectangle_centered.gh (6.8 KB)
Jon8
(Jon)
August 10, 2022, 11:20am
3
Hi, thank you for replying. Its a good solution but I have the x and Y axis already being randomized at creation and I can’t quite get your solution to fit in.
Procedural Towers.gh (27.8 KB)
It should be something like this
Procedural Towers.gh (34.2 KB)
Jon8
(Jon)
August 10, 2022, 12:23pm
5
Ah that works great! thank you!