docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method UpdateAttachPointVelocityData

    UpdateAttachPointVelocityData(Transform)

    Updates attach point velocity data using only the attachment transform.

    Declaration
    void UpdateAttachPointVelocityData(Transform attachTransform)
    Parameters
    Type Name Description
    Transform attachTransform

    The transform of the attachment point.

    UpdateAttachPointVelocityData(Transform, Transform)

    Updates attach point velocity data using the attachment transform and an XR Origin Transform.

    Declaration
    void UpdateAttachPointVelocityData(Transform attachTransform, Transform xrOriginTransform)
    Parameters
    Type Name Description
    Transform attachTransform

    The transform of the attachment point.

    Transform xrOriginTransform

    The XR Origin Transform for relative calculations.

    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)