trying to loop a beating heart


#1

hey everyone, i’m trying to animate a beating heart in ae (hence the reason i’m in here)

i made the heart in illustrator, made it a comp in AE, used the bulge effect to mimic the heart beating and im using a wiggler with a slider control to give the heart some movement/rotation

i have keyframed the bulges and used a loop to keep them ‘beating’ without needing more keyframes.

however! i used the wiggler/slider control method to add additional movement and keyframed it how i want, but when i try to add the loop expression it’s giving me all sorts of grief saying the following

"After Effects warning: Bad method arguments: This property has no keyframes. Expression disabled.

Error occured at line 3
Comp: ‘heart’
Layer: 1 (‘heart_flat’)
Propert: ‘Position’ "

the expression I used was ‘loopInDuration(type = “cycle”, duration = 0)’ after the wiggle(x,effect(slider)) blah blah blah. No semi colon was used (not sure if that matters? i’m not that good at scripting.)

any help would be awesome. thanks everyone :smiley:


#2

Set your keyframes so that it is a loop (starts and ends on the same image etc.,) - then apply the following expression to those keys:

loopOut(“Cycle”,0)

Usually if there are several items on the time-line that are keyed - I will either render or pre-comp the item and apply time remapping to it to do the continuous loop. Whatever works for you though. Simple expression - but I use it quite frequently.


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.