docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ProxyAlignmentForceScaling

    Scales how an alignment force is applied to an object

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Forces
    Assembly: Unity.MARS.dll
    Syntax
    [Serializable]
    public struct ProxyAlignmentForceScaling

    Constructors

    ProxyAlignmentForceScaling(float, float)

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

    Fields

    Default

    Declaration
    public static ProxyAlignmentForceScaling Default
    Field Value
    Type Description
    ProxyAlignmentForceScaling

    movementScale

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

    rotationScale

    Declaration
    [Range(0, 2)]
    [Tooltip("Scales the effect on rotation of the force. 0 for no effect, 1 for default, etc.")]
    public float rotationScale
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2025 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)