Skip to content

About

Blender addon to generate rig for cars

Resources

Code of conduct

Contributing

Stars

25 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Rigacar

Fork

This fork keeps Rigacar working on current Blender and consolidates fixes from the community while the maintainer is absent.

Compatibility

Blender Status
5.0 - 5.1 Supported, tested
4.5 LTS Supported, tested
4.0 - 4.4 Supported, tested
3.x and older Use upstream Rigacar

Install

  1. Download rigacar-<version>.zip from the releases.
  2. In Blender, open Edit > Preferences > Add-ons and choose Install from Disk (Install... before 4.2).
  3. Enable Rigacar (Generates Car Rig).

What the fork changes

  • Bone collections and bone colour palettes replace armature layers and bone groups (Blender 4.0).
  • Baking passes its options as BakeOptions (Blender 4.1).
  • Baking reads and writes F-curves through the action's slot, and selects bones through pose bones (Blender 4.4 and 5.0).
  • Rig generation creates missing driver modifiers, runs without the invoke step, and reports edit mode failures.
  • The body bone is sized from the body's true bounds, including collection instances and parented children.
  • Rigging keeps the car where it is: parented or scaled parts, a 3D cursor away from the origin, and Move origin no longer shift it.
  • Operators stay quietly unavailable, instead of raising errors, when no car rig is active.
  • Baking explains itself when only the armature object moves, instead of silently baking nothing.
  • The bake dialog offers the frames the rig is keyed on, or the scene range when only a path is animated (Follow Path's Animate Path).

Troubleshooting

  • Installing does nothing, or reports "No module named rigacar-...". Install the release zip, not GitHub's Code > Download ZIP. Blender imports the add-on by its folder name, which must be exactly rigacar.
  • The Rigacar tab is missing from the sidebar. It only appears while a car rig is the active object. Add one with Add > Armature > Car (deformation rig), select it, then press N.
  • Only one big bone appears, or the car doesn't move with the rig. Select every part of the car (body, wheels and brakes) before adding the deformation rig; Rigacar only rigs selected objects. Their names must end with Body, Wheel.Ft.L, Wheel.Ft.R, Wheel.Bk.L, Wheel.Bk.R, and optionally WheelBrake.Ft.L and so on. Dots, dashes, underscores or spaces work as separators, and extra wheels add a number, as in Wheel.Bk.L.001.
  • Wheels are the wrong size or float. Model the car facing -Y, with the wheels resting on the grid floor; Rigacar measures each wheel's radius from the floor.
  • Without target objects, the rig doesn't fit the car. Adjust the bones in the Add car deformation rig panel straight after adding it, or in Edit mode.
  • Baking does nothing. Animate the Root bone in Pose mode, not the armature object. A Follow Path constraint goes on the Root bone too.
  • The car distorts in bends along a path. Apply the curve's scale (Object > Apply > Scale) before following it.
  • The car or its steering twitches along a path. Follow Path follows the curve as straight segments, so the car turns in small jerks, and the baked steering with it. Raise the curve's Resolution Preview U (Object Data > Shape, 64 is plenty) and bake again.
  • Bake says the Root bone never moves. Baking reads the Root bone's motion over the frames given. Animate the Root bone first, or check the frame range.

Test

Run the end-to-end test from the repository root with any Blender. It needs a window, so use a virtual display when headless:

xvfb-run -a blender --factory-startup --python tests/e2e.py

# or on several versions at once
tests/matrix.sh ~/Applications/blender-*/blender

It builds a car, rigs it, checks the controls drive it, adds brakes, bakes wheels and steering (also along a Follow Path), and clears them. It also rigs a scaled, parented car away from the 3D cursor. It exits non-zero when a check fails.

It also rigs a real model, Kenney's CC0 sports sedan in tests/fixtures, and checks its wheels spin in place.

To capture the rigged sedan for documentation or a pull request:

xvfb-run -a blender --factory-startup --python tests/screenshot.py -- out.png --steer

Release

Bump "version" in bl_info (__init__.py) to the new version, then publish a release with a matching v tag, such as (8, 2) for v8.2.0. The release workflow refuses to attach the zip when they differ.

Upstream readme description below.

Upstream

Rigacar is a free addon for Blender. It is designed to fulfill the following goals:

  • generate a complete rig as quickly as possible (actually few seconds) for standard car models
  • provide tools to automate wheels animation
  • allow efficient animation baking to be able to export animated models into real time renderers

Please read full documentation on my website.

You can also watch the series of video tutorials:

Rigacar Part 1

About

Blender addon to generate rig for cars

Resources

Code of conduct

Contributing

Stars

25 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages