docs.unity3d.com
    Show / Hide Table of Contents

    Connect Target

    Menu Path : Orientation > Connect Target

    The Connect Target Block scales and orients particles so they connect to a specified target position.

    The Block also allows you to specify the particle pivot in relation to its position and target position. This is useful for example to specify a custom point of rotation along the particle:

    Block compatibility

    This Block is compatible with the following Contexts:

    • Any output Context

    Block settings

    Setting Type Description
    Orientation Enum Specifies how the particle orients itself. The options are:
    • Camera: The particle faces the camera.
    • Direction: The particle faces a particular direction.
    • Look At Position: The particle faces a position in the scene.

    Block properties

    Input Type Description
    Target Position Position The position with which the particle is connecting.
    Look Direction Direction The direction the particle faces.
    This property only appears if you set Orientation to Direction.
    Look At Position Position The position the particle orients itself to look towards.
    This property only appears if you set Orientation to Look At Position.
    Pivot Shift float The pivot relative to the length of the particle. A value of 0 sets it at the particle position, while a value of 1 sets it at the Target Position.
    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