Pauan / blender-rigid-body-bones

Blender Addon which adds rigid body / spring physics to bones
126 stars 9 forks source link

Rigid Body Bones

3D engines have support for bone physics, this can be used for a wide variety of things:


Blender can do all of that, however it is incredibly time consuming and tedious:

If you try to do it by hand, you will waste hundreds of hours of time.

With this add-on, all of the above steps are automatically done for you. Rather than spending several minutes (per bone), it instead takes a couple seconds.

And best of all, this add-on creates normal Blender rigid bodies, so the performance is excellent, and it continues to work perfectly even after disabling the add-on.

That means you can send the .blend file to somebody else and they can use it without needing the add-on installed.

Installation

You must have Blender 2.91.0 or higher.

  1. Go to the Releases page and download the most recent Rigid.Body.Bones.zip file.

  2. In Blender, go to Edit -> Preferences...

  3. In the Add-ons tab, click the Install... button.

  4. Select the Rigid.Body.Bones.zip file and click Install Add-on.

  5. Enable the checkbox to the left of Physics: Rigid Body Bones.

  6. Save your preferences.

How to use

  1. Select an Armature object:

  2. Go into Pose mode.

  3. In the sidebar (keyboard shortcut N) open the Rigid Body Bones tab:

  4. Select the bone that you want physics for.

  5. Click the Rigid Body checkbox to enable physics.

    If you want the bone to move automatically, change the Type to Active. You will probably want to change the Limits as well.

    You can also enable Springs to make the bone bouncy. And you can change the position of the hitbox in Offset.

    All of the rigid body options are available, the less commonly used options are in Advanced.

  6. When you're done making changes, switch into Object mode and then play the animation.

Useful tips

For programmers

If you want to modify this add-on, follow these steps:

  1. git clone https://github.com/Pauan/blender-rigid-body-bones.git

  2. cd blender-rigid-body-bones

  3. blender --background --python install.py

    This will install the add-on locally.

  4. Now you can open Blender normally and the add-on will be installed.

  5. When you make changes to the code, close Blender and then run blender --background --python install.py again.