Can't make boxes to rotate opposite ways?

Hi, if i set all rotations to clockwise everything works, but if i set one to counterclockwise box stops rotating around its axis. Anyone knows what is the problem?

Rotating_2.gh (33.8 KB)

And your geometry (‘Point_1’ and ‘Point_2’) are not internalized.

1 Like

Bifocal just for names of nodes. Vray time line controls animation (can use other input).

Rotating_3.gh (27.7 KB)
Fixed grasshopper file.

I know that. Sunglasses is far better :bangbang:

https://www.food4rhino.com/en/app/sunglasses

1 Like

thanks installed :slight_smile: any idea about why rotation doesn’t work?

The various Rotate components work fine. I don’t have time now to look further.

The problem is that your “orbit” rotation is undoing the “spin” rotation of one of the boxes (and doubling the spin of the other one).

Does this do what you want?

Rotating_3 fixed.gh (37.9 KB)

1 Like

This points to right direction THANK YOU. Motion doesn’t loop, but at least i have counterclockwise spin. Just don’t get why this happening. I thought node does it’s thing and done, than next operation. How second rotation can change first?

The second rotate isn’t changing the first, it just rotates the object back in the opposite direction, so the end result is as though it hadn’t rotated at all.

1 Like


Still don’t get why, but this works thank you so much :slight_smile:

Is this earth and moon situation? :slight_smile:

You’ve only got negative rotation connected to one of your nodes whereas it seems like it should be connected to both.

Similar. In gravitational systems like Earth/Moon, the orbiting body’s orientation is determined by its spin, and its orbit only determines its position. (Our moon is a bit of a special case since it’s tidally locked to Earth, but that’s a long-term effect.)

In most geometry settings (such as Rhino/Grasshopper), applying an orbit-like rotation to an object affects both orientation and position. In the physical world, we say the Moon rotates on its axis at the same rate as it orbits Earth so that the same side always faces us, but if you were to model this in grasshopper, you would have to give the Moon zero spin and let the orbital motion handle both together.