Calculate Mass from Volume | Visual Effect Graph | 10.2.2
docs.unity3d.com
    Show / Hide Table of Contents

    Calculate Mass from Volume

    Menu Path : Attribute > Derived > Calculate Mass from Volume

    The Calculate Mass from Volume Block sets a particle’s Mass attribute based on its volume, derived from the Scale attribute and the block’s Density property. This block is useful for calculating the mass of particles with different scales so they behave believably during physics simulations.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Initialize
    • Update

    Block properties

    Input Type Description
    Density Float The mass attribute of a particle based on its volume. The unit for this property is kg/dm3.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023