Jump to content

Recommended Posts

I'd like to make a loop like this and I'm looking a way to rotate cubes like in this animation without using MOPS can you help me please ?

Thanks

 

rot_boxes.hiplc

Share this post


Link to post
Share on other sites

Hi David,

in Houdini you would probably move and rotate the points in a wrangle:

v@P.z -= @Time;
matrix3 m = ident();
float amount = smooth(0.0, 1.0, v@P.z) * v@P.z;
rotate(m, amount, {0,0,1});
p@orient = quaternion(m);

cubes_rot.jpg.c7b736cd8e0948fc9aa3abc89494d4fa.jpg

rot_boxes_km.hipnc

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
45 minutes ago, konstantin magnus said:

Hi David,

in Houdini you would probably move and rotate the points in a wrangle:


v@P.z -= @Time;
matrix3 m = ident();
float amount = smooth(0.0, 1.0, v@P.z) * v@P.z;
rotate(m, amount, {0,0,1});
p@orient = quaternion(m);

cubes_rot.jpg.c7b736cd8e0948fc9aa3abc89494d4fa.jpg

rot_boxes_km.hipnc

super thanks Konstatin !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×