The same problem exists...I think. If I do greater than, then I
would still be looking for the point the angle is equal..for example.
If my start angle is 90 and my stop angle is 180, the cube will
rotate 90 degrees, but most likely the speed of the rotation will
reset the cube to 90 degrees before I detect the cube completed its
rotation.
Is there a way of having a interpolation start again if you set the
loop mode to none? This would be the perfect solution, since it
would stop after rotating to the stop value, and then I could change
the start and stop angles and restart the interpolation.
Ben
On Oct 25, 2005, at 8:13 PM, Pierre-Olivier Latour wrote:
I have the interpolation patch/custom timebase/stop watch working
correctly; however, the starting and stopping of the rotation is
not reliable because determining wether or not the output of the
interpolation is equal to my stop rotation is difficult to grab.
I have added a 1 degree tolerance; nonetheless this is not
consistent either.
Any ideas on how to get precise control over when to start/stop
the rotation based on the current/stop angles?
Can't you use a "greater than" comparison instead of an "equal with
tolerance"?