rotate objects randomly on certain axis

   17307   3   0
User Avatar
Member
1 posts
Joined: 3月 2017
Offline
Hi,

I've been using Houdini for a bit now and I am loving it, however I feel I am missing something simple. I am copying an object along a spline with multiple points using the copy to point node. However I would like each object to have a little bit of random rotation (preferably a range that I can set) on a certain axis. Is there a tutorial for this or a simple answer, I feel I will kick myself when I finally see a solution.

Thanks in advance.

Regards
Joel
User Avatar
Member
471 posts
Joined: 11月 2013
Offline
Hello.
Use copy stamping.
In this case you need to use copy stamp node not copy to point.
https://vimeo.com/90491383 [vimeo.com]
Edited by Nima - 2017年4月27日 11:12:50
User Avatar
スタッフ
107 posts
Joined: 2月 2009
Offline
Hello,

Copy stamping will work, but is unnecessary in this case. It will also make your network much slower, since each copy needs to be evaluated individually.

Using N or Orient, you can align your copies along the curve, and use attribute randomize to adjust the copies. There are, of course, many ways to achieve this. This is just a simply way.

.hip attached.

Attachments:
RandomizeAxis.hip (86.4 KB)

—————-
Scott Keating
Product Designer
SideFX Software
—————-
User Avatar
Member
8041 posts
Joined: 9月 2011
Offline
This was also answered a few days ago:
https://www.sidefx.com/forum/topic/49431/ [sidefx.com]
  • Quick Links