docs.unity3d.com
    Show / Hide Table of Contents

    Look At

    Menu Path : Operator > Math > Vector

    The Look At Operator calculates the Look-At Transform from position A to position B, given an up vector.

    Operator properties

    Input Type Description
    From Position The position of the source (the watcher).
    To Position The target position (the subject).
    Up Direction The up vector this Operator uses.
    Output Type Description
    Output Transform The look-at Transform this Operator calculates.
    In This Article
    • Operator properties
    Back to top
    Terms of use
    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