docs.unity3d.com
    Show / Hide Table of Contents

    Integration : Update Position

    Menu Path : Implicit > Integration : Update Position

    The Integration : Update Position Block updates particle positions based on their velocity. If the system uses the velocity attribute and you enable Update Position in the Update Context's Inspector, Unity implicitly adds this Block to the Context and hides it.

    This Block adds the particle velocity multiplied by deltaTime to the current particle position:

    position += velocity * deltaTime;

    If you disable Update Position in the Update Context's Inspector, the system does not change the particle position based on the particle's velocity attribute.

    You can also add the Integration : Update Position Block to the Update Context manually and enable/disable it to specify when the System updates the particle position based on its velocity.

    Block compatibility

    This Block is compatible with the following Contexts:

    • Update
    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