docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Attractor Shape Sphere

    Menu Path : Force > Attractor Shape Sphere

    The Attractor Shape Sphere Block attracts particles towards a defined sphere. This is useful for a range of cases, such as simulating a “charging” energy effect, and works best when you use it alongside other forces.

    This Operator doesn't support spheres that have scale axis of different lengths (ellipsoids). If you use an ellipsoid as an input, this Operator uses its longest axis to define the sphere.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Update

    Block properties

    Input Type Description
    Sphere Sphere The sphere the particles conform to.
    Attraction Speed Float The speed with which this Block attracts particles towards the surface of the sphere.
    Attraction Force Float The strength of the force that pulls particles towards the sphere.
    Stick Distance Float The distance at which particles attempt to stick to the sphere.
    Stick Force Float The strength of the force that keeps particles on the sphere.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)