Skip to main content
Participating Frequently
Aug 9, 2023 3:39 PM UTC
Answered

How to make an object, lets say a circle, move along a path, while always being tangential to path

Hello, like the title says, how do u make a shape or object be tangential to the path at every point of the path, regardless of the shape of the path?

This topic is closed to new replies. Start a new post to keep the conversation going.
Rick GerardCorrect answer
Community Expert
Aug 9, 2023 4:47 PM UTC

If you have a motion path you want to follow, Shift + Parent a null to the motion path, set the Null to Auto Orient to the motion path, then Shift + parent the Circle to the Null and offset the Y position of the circle by the radius of the circle. 

 

If you want to follow a shape layer path or a mask path, select the path in the timeline, open Window/Create Nulls From Paths.jsx and select Trace Path, then Shift + Parent the Circle (with the anchor point in the center) to the Trace null and offset the position by the radius of the circle. 

10 replies

Syntax_One
Known Participant
Nov 10, 2023 12:02 PM UTC

Copy the path proprety of the path and paste it in the circle's position property.

Translate
Rick GerardCommunity ExpertCorrect answer
Community Expert
Aug 9, 2023 4:47 PM UTC

If you have a motion path you want to follow, Shift + Parent a null to the motion path, set the Null to Auto Orient to the motion path, then Shift + parent the Circle to the Null and offset the Y position of the circle by the radius of the circle. 

 

If you want to follow a shape layer path or a mask path, select the path in the timeline, open Window/Create Nulls From Paths.jsx and select Trace Path, then Shift + Parent the Circle (with the anchor point in the center) to the Trace null and offset the position by the radius of the circle. 

Translate
Participating Frequently
Aug 9, 2023 5:00 PM UTC

awesome, works like a charm. thank you so much.

Translate
Warren Heaton
Community Expert
Community Expert
Aug 9, 2023 4:02 PM UTC

Layer > Transform > Auto-Orient... (Option + Command + O, macOS)

 

 

Translate
Participating Frequently
Aug 9, 2023 4:09 PM UTC

that doesnt seem to work. to be clear, i have made a custom path with the pen tool, then a circle shape on a new shape layer. i set the anchor point of the second shape layer to be in the center of the circle and i copied the path property of the first layer to the position property of the second. this made the circle center coincide with the starting point of the path, where i want to make the circle be tangent to the path.

Translate
Warren Heaton
Community Expert
Community Expert
Aug 9, 2023 4:16 PM UTC

Auto-Orient works based on the Motion Path of the Layer's Position property.

 

For what you have described, you'll need to keyframe the Rotation of the circle such that it coincides with the motion.

 

 

Translate