FORUMS: list search recent posts

# Start Rotation Throw Expression at specific time

FAQ   •   VIEW ALL
 Start Rotation Throw Expression at specific time on Jan 13, 2017 at 12:46:19 pm

Hi all,

First time poster here but long time reader, happy new year and hope 2017 is treating everyone well.

I have an expression conundrum that I can't solve. I would like to start my simple "Throw" expression at a specific time in my time line, currently it starts as soon as the scene is played.

My expression is applied to the rotation of my layer and looks like this:

// Spin (rotate at a constant speed without keyframes)
veloc = 360; //rotational velocity (degrees per second)
r = rotation + (time - inPoint) *veloc;
[r]

Many thanks to anyone who can help!

Cut off a wolf's head and it still has the power to bite.

 Re: Start Rotation Throw Expression at specific timeon Jan 13, 2017 at 2:25:42 pm

I would do it like this:

```action = 3; // begin time for animation in seconds if (time>action){ // Spin (rotate at a constant speed without keyframes) veloc = 360; //rotational velocity (degrees per second) r = rotation + (time - inPoint) *veloc; [r] } else{value};```

 Re: Start Rotation Throw Expression at specific timeon Jan 13, 2017 at 8:31:18 pm

Like this maybe:

tStart = 3;
r = 360; // degrees per second
value + Math.max(time-tStart,0)*r

Dan