Check out this soft body tire system for Unity by TheLandcaster, made using sphere colliders and joints.
Developer
TheLancaster showed a soft body tire system they made in Unity as a hobby project, designed for heavy machinery and off-road games.
The system has two main parts:
- Wheel Structure Generator
- Physics Setup and Management System
The Wheel Structure Generator creates the tire structure by placing sphere colliders around the original mesh of the wheel.
Once it’s ready, the wheel is saved as a preset. After that, setting up a new one only takes a few steps, including the physics.
You can also rebuild the wheel whenever needed.
The second part is the Physics Setup and Management System. Once the wheel structure is in place, it connects all the spheres with joints.
Each connection has its own damping and stiffness settings.
The system ignores collisions between the spheres. While the wheel is moving, the sphere positions are constantly adjusted to help keep the simulation stable.
Lancaster used Unity's PhysX solver for the wheel collisions. This means the tire interacts correctly with other objects in the scene.
They also built an alternative spherecast-based version, which gives better stability at high speeds. Lancaster ended up using the sphere and joints version because it felt more responsive while driving.
If you want to follow TheLancaster's work, the link will be right below.
Interested in learning more?
If you’re interested in the technical side of Unity? The
Unity Dev Bundle brings together
six books covering shaders, math, procedural shapes, editor tools, and character customization.
This is for developers and technical artists who want to build a stronger foundation and work with more advanced graphics and systems in their projects.