Rotating each copy

   2458   3   0
User Avatar
Member
3 posts
Joined: Aug. 2015
Offline
New user here.

I'm trying to rotate each copy by some amount depending on its copy index. So far, each time i've tried, I end up rotating the entire structure of copies as if they all share the same axis.

I hope for my end result to look something like the “twist” parameter if I were to make copies using the sweep node.

Attachments:
InstanceRotate.hipnc (84.6 KB)

User Avatar
Member
3 posts
Joined: Aug. 2015
Offline
The stamp function. Hallelujah. It's almost counter-intuitive as you're using data from downstream. I've got a long way to go.
User Avatar
Member
9680 posts
Joined: July 2007
Online
try to avoid stamp() while you can as that is slowing things down quite a lot
many times you can achieve the same thing using template attributes (like N, v, up, pscale, scale, trans, orient, …) to control the transform of your copies/instances

Attachments:
instancerotate_twist.hipnc (99.2 KB)

Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
3 posts
Joined: Aug. 2015
Offline
Awesome. Thank you, Tomas.
  • Quick Links