docs.unity3d.com
    目次を表示する/隠す

    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
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)