algorithmic modeling for Rhino
Hi,
I would like to rotate a rectangle on his own center following an attractor point. Does somebody know how to do this? I've been following this discussion http://www.grasshopper3d.com/forum/topics/gradual-rotation, but still I can't figure it out.
Thanks in advance.
Tags:
Is this what you are looking for? Since the angle between vectors always gives a positive result I use the x-value of the direction vector to check if the rotation should be positive or negative.
Yeah that script will not work with multiple attractors. This one picks the closest one and aligns in that direction. Better?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by