# Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Rotating something around two anchor points

• # Rotating something around two anchor points

Posted by on April 20, 2005 at 1:58 am

Hi,

Is there a way for me to rotate something while the two ends will stay fixed in their original place? (something like two anchor points). Example: a rope, one end is nailed into one tree & the other into another tree, (the middle should hang loose), then rotate it around itself, as with a hammock.

Help appreciated,
– A.N.

replied 19 years ago 3 Members · 4 Replies
• 4 Replies
• ### Mike Clasby

April 20, 2005 at 2:19 am

If your just using a side view, i don’t think you could distinguish a rotating rope from these vibrating strings:

https://www.motionscript.com/expressions-lab-ae65/vibrating-strings.html

Now an end view would be tricky.

• ### Mike Clasby

April 20, 2005 at 7:14 am

If you’re talking a rope (stroke), Trapcode’s 3D stroke should be able to do it. (But I’m too cheap to buy it, so I’ll defer to others).

• ### Dan Ebberts

April 20, 2005 at 5:34 pm

It seems like you should be able to put a 3D null at one end point, aim its x-axis (by rotating on the z-axis) at the other endpoint (it will be easier to do this if the width of the null is as large as the distance between the end points), and make the null the parent of the rope. Then just rotate the null on its x-axis. The endpoints of the rope should remain fixed.

Dan

• ### Avrohom Kohn

April 20, 2005 at 6:07 pm

Thanks guys, an anchor point on one end and a null on the other end which I parented the rope to, worked beutifully! Thanks again for your input, everyone.

-A.N.

We use anonymous cookies to give you the best experience we can.