-
LoopIn, play keyframes, loop spesific keyframes, then loopOut.
Hi,
I have a question regarding a bit of advanced looping.
let’s say I have a character animated. He sits and types at his computer.
Then he pauses and thinks a bit, before typing again, and finally getting up and walking away.Breakdown:
LOOP 1 – Typing at the computer
PLAY KF’s – Thinking for a bit
LOOP 2 – Typing at the computer
PLAY KF’s – Stand up and starts to walk away
LOOP 3 – WalkcycleSo to summarize: Is there a way to start and stop loops at will? Or at least start and stop loops a couple of times?
Sorry for the bullshit code example.
if(time lessthan key(1).time) loopIn("cycle", 2); //loop the three first keyframes
else if(time == key(4).time) playframes??; //play keyframe 4 and on to 8
else if(time > key(8).time) loop spesific frames??; //loop keyframe 6, 7 and 8
else if(time > key(9).time) playframes??; //play keyframe 9, 10 and 11;
else if(time > key(11).time) loopOut("cycle", 2); //loop keyframe 9, 10 and 11;
else(value);