Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Mimicking C4D’s Target Effector in AE

  • Mimicking C4D’s Target Effector in AE

    Posted by Mavis Everett on August 6, 2019 at 3:07 pm

    Hey —

    Is there a way using expressions (or otherwise) to mimic the effect you would get from C4D’s Target effector?

    My scene involved a bunch of small diagonal lines (attachment for reference). I would like a null or some other layer to ‘control’ them by having them orient to the layer as it moves around. The tricky bit is that they should orient also based on proximity. Think like the needles on a compass × a magnet.

    Is there any expression-based way to do this?

    Mikael Holmström replied 6 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Mikael Holmström

    August 30, 2019 at 9:03 am

    Try making your needles and target 3d layers, then copy this expression to the needles Orientation property.

    You may need to tweak the Rotation properties of the needles to make this work properly. Try +90 degrees pm X and Y Rotation.

    Mikael

    lookAt(thisComp.layer("Your target").position,position);

  • Mikael Holmström

    August 30, 2019 at 9:06 am

    Try making your needles and target 3d layers, then copy this expression to the needles Orientation property.

    You may need to tweak the Rotation properties of the needles to make this work properly. Try +90 degrees on X and Y Rotation.

    lookAt(thisComp.layer("Null 1").position, position);

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy