docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Set Velocities

    Change the linear velocity on the GameObject and/or the angular velocity on the Physics Body component. The Linear Velocity will push the object in one direction in world space with the force of the value and decrease over time.

    Ex: a value of (x= 0, y= 10, z= 0) will push the object in the air like if it was jumping with physic no matter the rotation of the object.

    • Angular velocity will exercise a rotation force represented in degrees per time on the object in local space this velocity will decrease at every frame until it touch 0. Note: Velocity is the speed at which something moves in one direction

    Ports

    Inputs

    Port Name Type Default Value Description
    Trigger Trigger the Velocity modification of the GameObject Physics Body component.Instance
    [GameObject] The GameObject that will be affected.
    [Vector 3] Value to push the object in one direction in world space with the force of the value and decrease over time
    [Vector 3] Value for the rotation force represented in degrees per time on the object in local space this velocity will decrease at every frame until it touch 0

    Outputs

    Port Name Type Default Value Description
    Trigger Execute the next action after setting the Linear Velocity and Angular Velocity to the GameObject Physics Body component.
    In This Article
    Back to top
    Copyright © 2024 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)