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