Blender 2.8 Animation - Creating a Flag - Blender Tutorial | Beginner to Advanced

Recent

August 27, 2019

Blender 2.8 Animation - Creating a Flag


flag animation blender 2.8

Creating an animated flag in Blender 2.8 with cloth simulation


Hello friends today in this article I am going to show you how to create a beautiful flag animation in Blender 2.8 with cloth simulation and some physics. So, Lets go. 

First open blender and delete the default cube. Then press SHIFT + A ➡ Mesh ➡ Plane to create a plane in the 3d viewport. Then press TAB to go into edit mode then select all the vertices by pressing A and press R ➡ X ➡ 90 to rotate the place by 90°. 

blender 2.8 plane

Now in edit mode press CTRL + R and with your scroll wheel make some edge loops like the below picture. 

Blender 2.8 edge loops ctrl + r

Then select the Top Left and bottom left vertex and go to Object Data in the properties menu. Now click on the small ➕ icon in vertex group section. Then name the group pin and click on Assign. 

Vertex groups Blender 2.8

Now press tab to go into object mode and go to the physics tab in properties menu. From there select Cloth. From the top right corner in Cloth menu select Cloth Presets option. Select Cotton from there. 

Blender 2.8 cloth

Blender  cloth presets

Now if you click on the play button from your timeline you will notice the plane is starting to falls down. But it does not look like a cloth object.

To fix this we need to pin some of the vertex in the cloth menu. That is why we created a vertex group before. In the cloth menu expand the shape section. Now click on the pin group option and select the group that you have created before. 

Blender 2.8 pin group shape

Now again press play again from the timeline. 

cloth blender 2.8


You will see now it look like a cloth object. but the cloth faces are overlapping each other. Real cloth don't behave like this. To fix this we will go to the Collisions section and select Self Collision form there. This will prevent the cloth faces to overlapping each other. We also smooth the cloth by pressing Right Click and select Shade Smooth from there. Now from the modifiers tab select subdivision surface. But make sure it is after the cloth modifier or it will slow down your PC.

Blender 2.8 cloth self collision

Now its looking like a cloth. So now create the stick and place it in the left side of the flag. Press the play button you will see now the flag is overlapping the stick. The flag is not detecting the stick as a collision object.

Blender 2.8 flag stick

Select the stick and click on the collision option from the physics tab. This will now fix the issue. 

Blender 2.8 collision

Now we will animate the flag by applying some real world physics. Press SHIFT + A ➡ Force Field ➡ Wind to place a wind object that will give real world wind in our scene.

Blender 2.8 wind effect

The wind effector is now facing up in the viewport. Place the wind object to the left side of the flag and rotate it so that it will face the flag like the below image.

wind blender 2.8

Now select the Wind object and from the physics menu change the strength option. Then raise the strength in such a way that the yellow arrow will pass the flag object. See the below Image.

Change Strength Blender 2.8


Now press the place the play button. So you have successfully created an animated flag  animation. If you love this tutorial please leave a comment in the comment section.





1 comment:

  1. How do you do the self collision? I made a cape ona character but whenever turn it on it makes the cloth messy,tossing it into the air.

    ReplyDelete