adds code


In this tutorial, we have discussed how to create an animation of falling letters using the Rigid Body Physics in Blender. It can be very helpful to create your promo or intro video. We have used several techniques together namely, breaking a text object into smaller pieces, adding a suitable rigid body scene, and adding a force field for the turbulence effect. Finally, we have talked about material setup & some cleanup. Please watch the video for the complete tutorial. If you have any question on this tutorial, please leave your comment below. 𝐇𝐨𝐰 𝐭𝐨 𝐝𝐢𝐯𝐢𝐝𝐞 𝐚𝐧 𝐨𝐛𝐣𝐞𝐜𝐭 𝐢𝐧𝐭𝐨 𝐞𝐪𝐮𝐚𝐥 𝐩𝐢𝐞𝐜𝐞𝐬 👉 https://youtu.be/eB8ZwcShhxU 𝐁𝐚𝐬𝐢𝐜𝐬 𝐨𝐟 𝐑𝐢𝐠𝐢𝐝 𝐁𝐨𝐝𝐲 𝐏𝐡𝐲𝐬𝐢𝐜𝐬 𝐢𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 👉 https://youtu.be/YpUyGJ-do4o 𝐅𝐨𝐥𝐥𝐨𝐰 𝐮𝐬 𝐨𝐧 𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 👉 https://www.instagram.com/5minutesblender/ 𝐓𝐡𝐚𝐧𝐤𝐬 𝐟𝐨𝐫 𝐲𝐨𝐮𝐫 𝐝𝐨𝐧𝐚𝐭𝐢𝐨𝐧𝐬 👉 https://donorbox.org/5-minutes-blender ================================================== 𝐏𝐲𝐭𝐡𝐨𝐧 𝐬𝐜𝐫𝐢𝐩𝐭 𝐭𝐨 𝐜𝐮𝐭 𝐚𝐧 𝐨𝐛𝐣𝐞𝐜𝐭 This script is maintained here 👉 https://youtu.be/eB8ZwcShhxU 𝐏𝐲𝐭𝐡𝐨𝐧 𝐬𝐜𝐫𝐢𝐩𝐭 𝐟𝐨𝐫 𝐚 𝐫𝐚𝐧𝐝𝐨𝐦 𝐫𝐢𝐠𝐢𝐝 𝐛𝐨𝐝𝐲 𝐞𝐟𝐟𝐞𝐜𝐭 👇 import bpy import random # Python Script To Add Rigid Body Physics At Random Frames # # Script by "5 Minutes Blender" - YouTube Channel # # The tutorial link: https://youtu.be/Iqv3OntNgC8 # Define the range within which rigid bodies should be enabled at random. range_start_frame = 51 range_end_frame = 200 # Define the object group that contains these rigid bodies (& nothing else). object_group_name = "Blocks" for object in bpy.data.collections[object_group_name].all_objects: # Delete all existing animations for this object. object.animation_data_clear() # Generate a random frame number to enable rigid body property. random_frame = random.randint(range_start_frame,range_end_frame) # Enable rigid body at the above frame number. # We are ignoring any attribute error which can occur here # if the target object's rigid body physics is not enabled. try: object.rigid_body.enabled = False object.keyframe_insert(data_path="rigid_body.enabled",frame=random_frame) object.rigid_body.enabled = True object.keyframe_insert(data_path="rigid_body.enabled",frame=random_frame+1) except AttributeError as e: print("Error in Object: " + object.name + getattr(e, 'message', repr(e))) print("Execution will continue.") continue ================================================== We have many more tutorials that can help you learn Blender like a professional. You can go through the following playlists for the relevant topics: 👇 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 𝐅𝐨𝐮𝐧𝐝𝐚𝐭𝐢𝐨𝐧 𝐂𝐨𝐮𝐫𝐬𝐞 𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬: If you are absolutely new to Blender, take this foundation course. https://www.youtube.com/playlist?list=PLtV6EPHDRNQKluDLiAne9LmUZW31Vt9IX 👇 𝐀𝐥𝐥 𝟏𝟐 𝐂𝐥𝐚𝐬𝐬𝐞𝐬 𝐓𝐨𝐠𝐞𝐭𝐡𝐞𝐫 𝐈𝐧 𝐎𝐧𝐞 𝐇𝐨𝐮𝐫: https://youtu.be/XwYSI37yMUo 👇 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 𝐓𝐢𝐩𝐬 𝐀𝐧𝐝 𝐓𝐫𝐢𝐜𝐤𝐬 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQJSHKa5qbtWaT6KsY1bOV53 👇 𝐄𝐚𝐬𝐲 𝐌𝐨𝐝𝐞𝐥𝐬 𝐅𝐨𝐫 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQJEEOCoTRPf6z6DSnLru0ey 👇 𝐌𝐚𝐭𝐞𝐫𝐢𝐚𝐥𝐬 𝐘𝐨𝐮 𝐍𝐞𝐞𝐝 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQJG_Dp8AgipRizpi6nEk97G 👇 𝐀𝐥𝐥 𝐓𝐞𝐱𝐭 𝐄𝐟𝐟𝐞𝐜𝐭𝐬 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQKj4S7hYAmRbmGM91XJF3ps 👇 𝐂𝐚𝐦𝐞𝐫𝐚 𝐌𝐨𝐯𝐞𝐦𝐞𝐧𝐭 & 𝐒𝐞𝐭𝐭𝐢𝐧𝐠𝐬 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫: https://www.youtube.com/playlist?list=PLtV6EPHDRNQLDGPjwstDe5Z3D2plVeJmZ 👇 𝐔𝐬𝐞𝐟𝐮𝐥 𝐋𝐢𝐠𝐡𝐭𝐢𝐧𝐠 𝐒𝐞𝐭𝐮𝐩 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQI38u5b-6YupR0pmsivk6xf 👇 𝐑𝐢𝐠𝐢𝐝 𝐁𝐨𝐝𝐲 𝐏𝐡𝐲𝐬𝐢𝐜𝐬 & 𝐑𝐢𝐠𝐢𝐝 𝐁𝐨𝐝𝐲 𝐂𝐨𝐧𝐬𝐭𝐫𝐚𝐢𝐧𝐭𝐬: https://www.youtube.com/playlist?list=PLtV6EPHDRNQLTnVbeeZzZU7OIx_FUqwnC 👇 𝐅𝐢𝐫𝐞 & 𝐒𝐦𝐨𝐤𝐞 𝐒𝐢𝐦𝐮𝐥𝐚𝐭𝐢𝐨𝐧 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQJx8SXPn_e6QO1cNgDWAxVb 👇 𝐅𝐥𝐮𝐢𝐝 𝐒𝐢𝐦𝐮𝐥𝐚𝐭𝐢𝐨𝐧 𝐈𝐧 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQLTZLKXkBAIkDjKX9tSsjIA 👇 𝐌𝐚𝐬𝐭𝐞𝐫𝐢𝐧𝐠 𝐁𝐥𝐞𝐧𝐝𝐞𝐫 (𝐓𝐮𝐭𝐨𝐫𝐢𝐚𝐥𝐬): https://www.youtube.com/playlist?list=PLtV6EPHDRNQJ1sO47-fyWEOSGRMZOPbFk If you want to watch our own creations in Blender, you can also check out the following channel where we regularly upload videos on Animation, Space Exploration and AI. 𝐎𝐮𝐫 𝐨𝐭𝐡𝐞𝐫 𝐜𝐡𝐚𝐧𝐧𝐞𝐥 𝐥𝐢𝐧𝐤: https://www.youtube.com/channel/UCuPolNHxtdpD7n-h4DFNIlg #Blender #Animation #RigidBody Timestamp 00:00 Introduction to falling letters 00:26 Add a suitable text object 01:27 Separate out each letter 02:40 Cut each letter into small pieces 05:34 Add rigid body physics 06:53 Randomize the dynamic property 09:01 Add a turbulence or vortex force 10:18 Add a passive rigid body floor 11:32 Verify the result after baking 12:19 Setup some suitable materials
Previous Post Next Post