Copy multiple objects to points + randomly rotate 90° [Solved]
4675 13 1- GlennimusPrime
- Member
- 78 posts
- Joined: June 2019
- Offline
Hello, I have found a few ways to randomly copy multiple objects to points on a flat grid, but I can't seem to find any information on also randomly snapping those copied objects to random 90° increments.
Also, should I be using Copy Stamp or Copy to Points?
File attached as to where I'm currently at.
Also, should I be using Copy Stamp or Copy to Points?
File attached as to where I'm currently at.
Edited by GlennimusPrime - May 11, 2020 22:04:16
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
coupla quick suggestions…not necessarily best tho:
- i would have used a flat grid, select different patterns (like a cross or L shape), then extrude up
- in H18, there's a variant attribute that you can randomize…then use that for copying
- random 0/90/180/270 rots can be controlled by “iteration”
you could have a go at these…or someone…or meself…will post something soon.
- i would have used a flat grid, select different patterns (like a cross or L shape), then extrude up
- in H18, there's a variant attribute that you can randomize…then use that for copying
- random 0/90/180/270 rots can be controlled by “iteration”
you could have a go at these…or someone…or meself…will post something soon.
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- GlennimusPrime
- Member
- 78 posts
- Joined: June 2019
- Offline
So many handy things here for me, thank you!
As a student with still much to learn inside Houdini, this is great.
I hadn't heard of the Labs Axis Align before, this makes a bunch of my transform presets redundant, and much easier to deal with.
Thanks for the info on variant also, and I think I was having trouble with rounding previously because I was using the ‘round’ instead of rint.
Just one question, why do the objects not copy to the position of the points they're being told to copy to?
i.e. the objects are overlapping / touching each other.
Thanks for all the new tips!
As a student with still much to learn inside Houdini, this is great.
I hadn't heard of the Labs Axis Align before, this makes a bunch of my transform presets redundant, and much easier to deal with.
Thanks for the info on variant also, and I think I was having trouble with rounding previously because I was using the ‘round’ instead of rint.
Just one question, why do the objects not copy to the position of the points they're being told to copy to?
i.e. the objects are overlapping / touching each other.
Thanks for all the new tips!
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
GlennimusPrimehmmm…that overlapping thing is a problem…wonder why I didn't noticed it right away…late last night i guess…i'll have a look.
So many handy things here for me, thank you!
As a student with still much to learn inside Houdini, this is great.
I hadn't heard of the Labs Axis Align before, this makes a bunch of my transform presets redundant, and much easier to deal with.
Thanks for the info on variant also, and I think I was having trouble with rounding previously because I was using the ‘round’ instead of rint.
Just one question, why do the objects not copy to the position of the points they're being told to copy to?
i.e. the objects are overlapping / touching each other.
Thanks for all the new tips!
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
there must be a neater way to move a piece to Origin, do rotation, then move it back but
here's my long winded way.
For the life of me, cannot get 180 or 270 rotations in the rand…it's always 0 or 90…anyone can spot the obviously not so obvious mistake ? I must be going blind.
(you can play with the seed in the transform)
here's my long winded way.
For the life of me, cannot get 180 or 270 rotations in the rand…it's always 0 or 90…anyone can spot the obviously not so obvious mistake ? I must be going blind.
(you can play with the seed in the transform)
- GlennimusPrime
- Member
- 78 posts
- Joined: June 2019
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- tamte
- Member
- 8573 posts
- Joined: July 2007
- Online
- GlennimusPrime
- Member
- 78 posts
- Joined: June 2019
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
-
- Quick Links