Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Animating the shape of a path?
show user profile  peterjung
Hi all

I am starting work on trying to animate a chain and sprocket system with three sprockets. The tricky part is that two of the sprockets move relative to each other so I am having a hard time trying to figure out how I can animate the path to reflect the changing path that the chain will take as the sprockets move.

See the first image below: The red lines show the starting position of the system. The smaller sprocket (No. 1) moves diagonally from left to right as the larger sprocket (No. 2) moves vertically downwards.

This of course means that the path of the chain is changing as both sprockets move.

Basically I need to animate the shape of the path as shown in the second image from the red path resulting in the green path to match the movement of the sockets:

Can anyone give any pointers on how I can animate the spline to do this?

Any help is very much appreciated!


read 364 times
7/18/2016 11:25:37 AM (last edit: 7/18/2016 11:42:42 AM)
show user profile  ijzerman
ik helpers are your friend i think?
Have you looked into those? its a modifier on top of a shape object.

Pushing buttons since "86
read 336 times
7/18/2016 1:37:42 PM (last edit: 7/18/2016 1:37:42 PM)
show user profile  HANZZ
If you very carefully model the 1st spline shape, then copy it and modify the shape to the 2nd shape, without changing the number of sub parts like vertex count, etc. you can use a compound object/morph on it.

 photo MorgothArisenSig_zpsup4yjp7o.jpg

read 323 times
7/18/2016 7:25:50 PM (last edit: 7/18/2016 7:25:50 PM)
show user profile  peterjung
Ijzerman & Hanzz - many thanks for the input!

Hanzz I had a stab at your approach which gets close but some of the vertices behave a little oddly:

Unable to display content. Adobe Flash is required.

Any suggestions on how I can get better control over the vertices movement?

Ijzerman - thanks for your suggestion - I need to read into your suggested approach to try and understand a bit more
read 294 times
7/20/2016 2:05:13 AM (last edit: 7/20/2016 2:15:27 AM)
show user profile  HANZZ
Yep. How many morph shapes did you give? If you can give more than one, it'll go smoother. Even smoother if you give 3 or more.

 photo MorgothArisenSig_zpsup4yjp7o.jpg

read 286 times
7/20/2016 3:16:38 AM (last edit: 7/20/2016 3:16:38 AM)
show user profile  peterjung

Thanks again! I tried a slightly different approach - basically just animating the individual vertices every 30 farmes or so. The result is not 100% perfect but should be close enough for what I need.

Thanks for your help!

Unable to display content. Adobe Flash is required.

read 280 times
7/20/2016 5:34:23 AM (last edit: 7/20/2016 6:14:42 AM)
show user profile  peterjung
Here is a test render of the gear concept:

read 269 times
7/20/2016 11:28:05 AM (last edit: 7/20/2016 11:28:05 AM)
#Maxforums IRC
Open chat window