2
Base of the animation (use splice tool or use follow method):
Create Null → Coord. Keyframe XY position from 1st to 4th frame as follow:
0th: XY: 0,0
1th: XY: 100cm,0
2nd: XY: 100cm, 10cm
3rd: XY: 0,10cm
4th: XY: 0,20cm
(click keyframe record button on both X and Y every time at every frame)
Repeat the animation:
Show F-Curve
Click Position. X ( L side on Dope sheet) → Track (Position.X) menu appear at bottom R corner → After: Repeat; Repetitions: 5
Click Position.Y → After: Offset Repeat, Repetitions: 5
Create the 3d thickness liquid(cheese) into Spline
Select Null layer - >Mograph → Tracer → R click on Tracer layer → Current State to Object
Remark: The cursor on timeline is important, make sure it’s at 0F when add tracer, then at 26F or later (5 repetitions animation is finished when add Current State to Object)
→ can delete Tracer mograph once the Tracer spline is created
Rename spline layer as Zig Zag and on its layer → select Point mode → Select all point (Ctrl A) → R click: Chamfer →
on any blank area in scene, drag mouse to smoothen the edges of the points (or adjust radius value in Chamfer menu)
→
In Extrude icon, add Sweep parent over Zig Zag layer
→
Add Spline Rectangle and properties set as follow:
width 10cm; height 80cm; tick Rounding; radius 1cm →
child Rectangle layer under Sweep, but above Zig Zag (not parenting)
Create the repeated animation:
Select Rectangle layer → Mograph → Matrix → Mode: Object → Drag Zig Zag layer in Object box; Count: 400; Distribution: Even
→ in Transform tag, reduce S (size) XYZ all to 0.3
→ Still in Matrix layer → add Cloner → Mode: Linear → Add Cube and child it under Cloner → Scale down cube to about 3cm (similar size to the matrix Zig Zag particles)
In Clone layer → Count: 400 (should be same as Matrix) → Position Y: 3cm (should let each cube almost touch to each other)
Select Cloner → Move up where the dispenser should start
→ Add Inheritance effector → tick Morph Motion Object →
→ Falloff → Linear Field → Direction -Y → Scale the field with narrower gap
→ put down the Cloner position that is closer to upper plane of the field
In Cloner → Transform → Keyframe position Y 0cm@0F to -1230cm@200F → Show F curve, make it linear
Converted the clones into animation spline:
Select Cloner layer → mograph → Tracer → Tracing mode: Connect all Objects
→
Drag Zig Zag layer out of Sweep layer (just put zig zag at most bottom layer), drag Tracer layer instead into Sweep (below rectangle)
→
in Tracer menu, Object → Type: B-Spline, Intermediate Points: Natural
Make the Dispenser on top move along with the cheese direction together:
In Cloner → Coord. Position X, keyframe 0cm@0F, -100cm@ 22F (22F is time when 1st layer of cheese is squeezed out) → Show F curve → choose Position X → Track menu (R side out of Dope sheet) → After: Oscillate; Repetitions: 11
Still in Cloner, add Delay effector → Effector tag, Mode: Blend
Set timeline to 220F for enough length