docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetImpulseEventThresholdSingleConstraint

    SetImpulseEventThresholdSingleConstraint(int, float3)

    Set the impulse event threshold of a constraint specified by constraint index. If a selected constraint is a motor, this function will have no effect.

    Declaration
    public void SetImpulseEventThresholdSingleConstraint(int constraintIndex, float3 impulseEventThreshold)
    Parameters
    Type Name Description
    int constraintIndex

    Constraint index (a value between 0 and 2).

    float3 impulseEventThreshold

    Impulse event threshold.

    In This Article
    Back to top
    Copyright © 2023 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)