docs.unity3d.com
    Show / Hide Table of Contents

    Struct ProxyAlignmentForceScaling

    Scales how an alignment force is applied to an object

    Namespace: Unity.MARS.Forces
    Syntax
    [Serializable]
    public struct ProxyAlignmentForceScaling

    Constructors

    ProxyAlignmentForceScaling(Single, Single)

    Declaration
    public ProxyAlignmentForceScaling(float moveForce, float rotationForce)
    Parameters
    Type Name Description
    Single moveForce
    Single rotationForce

    Fields

    Default

    Declaration
    public static ProxyAlignmentForceScaling Default
    Field Value
    Type Description
    ProxyAlignmentForceScaling

    movementScale

    Declaration
    [Range(0F, 2F)]
    [Tooltip("Scales the effect on position of the force. 0 for no effect, 1 for default, etc.")]
    public float movementScale
    Field Value
    Type Description
    Single

    rotationScale

    Declaration
    [Range(0F, 2F)]
    [Tooltip("Scales the effect on rotation of the force. 0 for no effect, 1 for default, etc.")]
    public float rotationScale
    Field Value
    Type Description
    Single
    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