docs.unity3d.com
    Show / Hide Table of Contents

    Enum ProxyAlignmentForceType

    How this object should align with it's target

    Namespace: Unity.MARS.Forces
    Syntax
    [Serializable]
    public enum ProxyAlignmentForceType

    Fields

    Name Description Value
    MoveToAndAlignWith

    Goal transform is the target's transform

    0
    MoveToAndFace

    Effectively 'go towards': look at target while moving towards it's location

    1
    CenterInFrontOfAndFace

    Towards closest point directly in front of target, and face it

    2
    SceneInitialRelativePose

    Stores the relative pose at Awake, and tries to maintain that.

    3
    SceneInitialRelativeAngle

    Stores the relative angle at Awake, and tries to maintain that.

    4
    MoveToAndFaceAwayFrom

    Same behavior as MoveToAndFace except the target's backwards facing direction is used. Use this for UI canvases

    5
    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