Use what ever frame the time line is to loop?

   172   2   0
User Avatar
Member
43 posts
Joined: Oct. 2014
Online
Hey

How can i use fit($FF,1,240,0,360)
And instead of 240 frames, have whatever the timeline is set to?

Thanks
User Avatar
Member
9262 posts
Joined: July 2007
Offline
you can use
$FSTART and $FEND variables for global frame range
$RFSTART and $RFEND for visible frame range

so it would be something like:
fit( $FF, $FSTART, $FEND, 0, 360 )

however since I assume you want to seamlessly loop rotation, you may want to do:
fit( $FF, $FSTART, $FEND + 1, 0, 360 )

otherwise first and last frame would be the same angle since 0 == 360
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
43 posts
Joined: Oct. 2014
Online
Thanks, Tomas just what I needed

all the best

Toke
  • Quick Links