inkpen3d
05-18-2009, 01:28 PM
Okay, this is a tricky one and I am not sure if there's an easy solution, but here goes...
In the attached screen shot of an animation that I am working on there is a glass probe that has a complex oscillating up and down motion on the Y-axis. On the left hand side there is a model representing a graph with a (bent) line plotted on it. You'll also see a null sitting within the graph.
The problem that I need to solve is how to get the null to move back and forth along the bent graph line in step with the up/down movement of the glass probe without having to manually key-frame the motion of the null.
The end result of all this should be that at the maximum Y excursion of the glass probe the null is at one end of the graph line and, as the probe descends, the null follows the graph line until, at the minimum Y excursion of the glass probe, the null is at the other end of the graph line. And of course, visa versa as the probe moves in the other direction.
I have investigated using the CurveConstraint motion plugin, but this simply runs the null from one end of the curve to the other over the duration of the animation and there is not an apparent means of coupling the null's motion to the up/down movement of the glass probe.
Other than manually key-framing the motion of the null, does anyone know of a means of achieving the desired end result described above?
Thanks in advance,
Peter
In the attached screen shot of an animation that I am working on there is a glass probe that has a complex oscillating up and down motion on the Y-axis. On the left hand side there is a model representing a graph with a (bent) line plotted on it. You'll also see a null sitting within the graph.
The problem that I need to solve is how to get the null to move back and forth along the bent graph line in step with the up/down movement of the glass probe without having to manually key-frame the motion of the null.
The end result of all this should be that at the maximum Y excursion of the glass probe the null is at one end of the graph line and, as the probe descends, the null follows the graph line until, at the minimum Y excursion of the glass probe, the null is at the other end of the graph line. And of course, visa versa as the probe moves in the other direction.
I have investigated using the CurveConstraint motion plugin, but this simply runs the null from one end of the curve to the other over the duration of the animation and there is not an apparent means of coupling the null's motion to the up/down movement of the glass probe.
Other than manually key-framing the motion of the null, does anyone know of a means of achieving the desired end result described above?
Thanks in advance,
Peter