11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
Unity版本 | 内置渲染管线 | 通用渲染管线(URP) | 高清渲染管线(HDRP) |
---|---|---|---|
6000.0.28f1 | 兼容 | 兼容 | 兼容 |
Demo scene is designed for URP/SRP.
To render the demo scene in Built-in or HDRP, please convert the materials to your target render pipeline
AutoMass – Accurate Mass from Volume & Density
AutoMass is a lightweight Unity editor extension that automatically calculates Rigidbody mass based on your GameObject’s volume and material density. Perfect for physics-based games, simulations, or any project where realistic mass matters.
Features
• Volume-based mass calculation using voxel approximation
• Built-in density presets (wood, steel, gold, etc.) or custom values
• Right-click context menu: “Add AutoMass”
• 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 Cases
• Physics-based gameplay and puzzles
• Accurate Rigidbody setups in engineering or training simulations
• Educational projects or procedural level design
• Quick prototyping with physically meaningful mass
What’s Included
• Editor tools and inspectors
• AutoMass MonoBehaviour and context menu integration
• Settings window for voxel and density presets
• Lightweight, dependency-free codebase
AI was used as scripting help and for image generation