docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Kill (Sphere)

    Menu Path : Kill > Kill (Sphere)

    The Kill (Sphere) Block kills (sets the alive attribute to false) particles depending on where they are in comparison to a given Sphere.

    Block settings

    Setting Type Description
    Mode Enum The method Unity uses to determine whether to kill a particle. The options are:
    • Solid: Kills particles within the Sphere.
    • Inverted: Kills particles outside of the Sphere.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Initialize
    • Update
    • Any output Context

    Block properties

    Input Type Description
    Sphere Sphere The sphere to compare particle position to.

    Remark

    • If you use this Block inside an output Context, particles temporarily disappear, but don't stay killed.
    • Make sure to enable the Reap Particles option in update, otherwise killed particles don't disappear.
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)