Follow Curve

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Follow Curve

Postby hayasidist » Fri Jan 24, 2014 10:31 pm

This tool is similar to the Follow Path function. The main difference is that it uses the control points in the “path to follow” as timing points.
You select a shape (or some points) on the active layer, then pick any path on any layer (the active layer or not), and the selected shape will be translated along the path that was picked. Each segment on the path takes the same number of frames (you can choose what this number is), no matter how far apart the points are.. so with two points a long way apart the shape goes quickly between them; and with two points very close together the shape will go very slowly...


zip file containing: readme, icon, cursor and script is here: https://www.mediafire.com/?b4jddkukv28168j
User avatar
hayasidist
 
Posts: 1809
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Follow Curve

Postby jahnocli » Sat Jan 25, 2014 11:20 am

This looks to be very useful! Thanks for posting...and what is so special about the number 26?
You can't have everything. Where would you put it?
User avatar
jahnocli
 
Posts: 3265
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Follow Curve

Postby hayasidist » Sat Jan 25, 2014 11:29 am

jahnocli wrote:...what is so special about the number 26?
it's a long story ... and I'm keeping the film rights :wink:
User avatar
hayasidist
 
Posts: 1809
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Follow Curve - Now Updated for AS11

Postby hayasidist » Fri Mar 04, 2016 4:32 pm

User avatar
hayasidist
 
Posts: 1809
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Follow Curve - Now updated for Moho 12

Postby hayasidist » Thu Feb 01, 2018 1:41 pm

http://www.mediafire.com/file/k0d5tdydz ... 20V520.zip

there are no changes to the core functionality -- just an update to use the Moho 12 UI. This new version will not work with AS11 or earlier versions - but the previous versions are still there for download.

Bug reports / enhancement requests always welcome.
User avatar
hayasidist
 
Posts: 1809
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Follow Curve - Now updated for Moho 12

Postby EHEBrandon » Thu Apr 12, 2018 7:16 am

hayasidist wrote:http://www.mediafire.com/file/k0d5tdydzhzdotu/HS%20Follow%20Curve%20V520.zip

there are no changes to the core functionality -- just an update to use the Moho 12 UI. This new version will not work with AS11 or earlier versions - but the previous versions are still there for download.

Bug reports / enhancement requests always welcome.

I just had a crazy idea to expand on this concept a tad bit whether it'd be possible I don't know. Anyways what if you could use a vector line for rigging so it has the appearance of Harmony to where the bone paths look like vector points but instead of changing the bones and the way they look why not just bind the vector objects to vectors if that makes sense lol.
EHEBrandon
 
Posts: 118
Joined: Mon May 26, 2014 2:16 am

Re: Follow Curve - Now updated for Moho 12

Postby hayasidist » Thu Apr 12, 2018 10:06 am

EHEBrandon wrote:
I just had a crazy idea to expand on this concept a tad bit whether it'd be possible I don't know. Anyways what if you could use a vector line for rigging so it has the appearance of Harmony to where the bone paths look like vector points but instead of changing the bones and the way they look why not just bind the vector objects to vectors if that makes sense lol.


yes - see what you mean -- you can just about do that now with the tool as it is. e.g. define point groups and in a number of separate passes generate the keys for those point groups moving with the animated path (you can animate the "path to follow" - the follow function will use the path's position at the frame it generates keys for the following items).

but a core issue is that this tool is a "baked keys" tool -- if you change the controlling path after you've run this tool, the keyed items stay where they were put. It is _feasible_ to make this dynamic, and to preserve some association of target point with controlling point, but that's a major re-engineering exercise.


I had actually been contemplating something functionally similar: draw a path then run a tool that starts from the first drawn point to add bones that span (obviously straight line) the (curved) gaps between points - pivot on the low numbered one, tip on the higher numbered - then move the bones in response to the point motion (similar in concept to this http://www.lostmarble.com/forum/viewtop ... 3&#p178053 but using a point rather than a target bone in a separate layer)

there's also the possibility for a variant on the add/sketch bones tools that draws a path over the bones ... and then you could move the path to control the bones as above ...

But up to now I've never really found a compelling reason to do either ...
User avatar
hayasidist
 
Posts: 1809
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England


Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron