Forums > Jitter

jit.anim.node – off-center rotation

Mar 10 2013 | 3:32 pm

I’m sure I’m missing something really basic here, but I can’t figure it out.

I have a with a red cube at the origin, and a blue cube offset from it. By using a jit.anim.node, I can easily make the blue cube rotate around the red cube. But how would I make the red cube rotate around the blue cube? In other words, how would I set up a rotation around a pivot point that isn’t at the center of an object?

-- Pasted Max Patch, click to expand. --

Mar 11 2013 | 3:57 am

check out the @anchor attribute of jit.anim.node.
@anchor -4 0 0 in this case.

Mar 11 2013 | 1:50 pm

That’s it – thanks Rob!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter