docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAttachPointVelocityProvider

    Interface defining the contract for providers that can supply attach point velocity data. This includes both linear velocity and angular velocity.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Attachment
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [MovedFrom("UnityEngine.XR.Interaction.Toolkit.Interaction")]
    public interface IAttachPointVelocityProvider

    Methods

    GetAttachPointAngularVelocity()

    Retrieves the current angular velocity of the attachment point.

    Declaration
    Vector3 GetAttachPointAngularVelocity()
    Returns
    Type Description
    Vector3

    The current angular velocity of the attachment point as a Vector3.

    See Also
    AttachPointVelocityTracker

    GetAttachPointVelocity()

    Retrieves the current linear velocity of the attachment point.

    Declaration
    Vector3 GetAttachPointVelocity()
    Returns
    Type Description
    Vector3

    The current linear velocity of the attachment point as a Vector3.

    See Also
    AttachPointVelocityTracker

    Extension Methods

    AttachPointVelocityProviderExtensions.GetAttachPointAngularVelocity(IAttachPointVelocityProvider, Transform)
    AttachPointVelocityProviderExtensions.GetAttachPointVelocity(IAttachPointVelocityProvider, Transform)

    See Also

    AttachPointVelocityTracker
    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)