|
|
RusHHouR wrote:
> I use a spline to make them fly around in a certain kind of circular
> pattern.
>
> But, they only fly one lap... Im missing something here, how can I make them
> loop the spline again and again? Thankful for help!
>
> translate (batpath1(clock*12))}
A spline only accepts values between 0 (beginning of spline) and 1 (end
of spline). If you want it to repeat the path, the value has to start at
0 again. This could be done like this:
#declare BatMover = clock*12;
#while (BatMover >= 1) #declare BatMover = BatMover-1; #end
and later use
translate (batpath1(BatMover))
Regards,
Tim
--
aka "Tim Nikias"
Homepage: <http://www.nolights.de>
Post a reply to this message
|
|