Physics

Flag looping with cloth

Import the Flag spline created from AI
Place the position of spline as 0,0,0
Select the spline layer → Extrude (green icon), parent it above spline layer → Object →
Offset: 0cm
→ Caps → Caps Type: Quardrangles, tick Regular Grid (not found in R25 and 21) (the uneven and insufficient geometry cause problem in animation?)
R click on Extrude layer → Current State to Object (a new layer of Extrude is formed) → Delete old spline and extrude layer
Rename new extrude as Flag1, Create a null name as FLAG and put the flag1 layer in
Create a cylinder (adjust radius and length in move tool, not scale tool), rename as pole → drag it under FLAG null
Select Flag1 → Simulation tag → Cloth
Set timeline as 400F, 24fps
To let the flag stick on the pole:
Change to point mode and use live selection in Front viewport → select some points that use to attach the flag to pole
image.png
Back to Cloth tag menu → Dresser → At Fix Points, click Set
(play to test if simulation works)
→ still in cloth tag menu, Expert → Sub Sampling: 1
Still in Cloth menu,
nbTag → Iterations: 600, Flexion: 0%, Bounce: 10%
Forces → Drag: 4%, Wind Direction X: 10cm, Z: 5cm, Wind Strength: 20, Turbulence strength and speed: 0, Air resistance: 10
Parent Subdvision surface over FLAG null
In Cloth tag → Cache → Calculate Cache

To make the Flag loop:
Duplicate flag1 layer 2 times, rename as flag2 and flag main → delete the cloth tag on flag main layer
Open flag2 layer cloth tag → Cache → Start: -300F (to offset the previous animation, so now it just plays the last 100f from those 400f before it stops)
Reduce the timeline as 300F
Select Flag main layer → R click → Rigging tag → Pose Morph → Basic → Mixing → tick Points
In Tag → drag falg1 and 2 in the box:
image.png
Still in Tag → mode: animation →
Set keyframe as follow:
In 0F, Flag2, 100%, Flag1 0%
In 100F, Flag2 : 0%. Flag1: 100%
In Basic of Pose Morph: change Priority and base priority from expression to Initial (force the computer update for smoother transition)


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.