docs.unity3d.com
    Show / Hide Table of Contents

    Force

    Menu Path : Force > Force

    The Force Block applies the given force to particles. To do this, it changes the affected particles’ velocity.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Update

    Block settings

    Setting Type Description
    Mode Enum The method this Block uses to apply a force to particles. The options are:
    • Absolute: Applies the force directly to the particles.
    • Relative: Applies the force in a way that causes the particles' velocity to tend towards the Velocity value. The speed at which they do this depends on the difference between the particles' velocity and the target Velocity. This transition is faster with a higher Drag value and a lower particle mass. This option is useful to simulate a flow, like wind, that particles follow without ever exceeding the target velocity.

    Block properties

    Input Type Description
    Force Vector The force vector this Block applies to particles.
    This property only appears if you set Mode to Absolute.
    Velocity Vector The relative velocity that affected particles tend towards.
    This property only appears if you set Mode to Relative.
    Drag float The drag coefficient.
    This property only appears if you set Mode to Relative.

    Remarks

    This Block only affects the particle position if you enable the Update Position setting in the Update Context.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 September 2023