AutoMass is a lightweight Unity editor extension that calculates Rigidbody mass based on a GameObject's volume and material density. It's perfect for physics-based games, simulations, or projects where realistic mass matters. With features like volume-based mass calculation, built-in density presets, and customizable voxel size, AutoMass makes it easy to get accurate mass calculations in your Unity project.
Key features include:
- Volume-based mass calculation using voxel approximation
- Built-in density presets (wood, steel, gold, etc.) or custom values
- One-click aggregation and mass assignment to Rigidbody
- Customizable voxel size and density list
- No runtime overhead - editor-only tool
- Extremely fast, hardware-accelerated algorithm
- Full C# source code included
Use AutoMass for physics-based gameplay and puzzles, accurate Rigidbody setups in engineering or training simulations, educational projects, or quick prototyping with physically meaningful mass.
Volume-based mass calculation using voxel approximation
Hardware accelerated
Leveraging the power of compute shaders
Fully customizable
Only works with meshes without holes





