Newer
Older
HoloAnatomy / Assets / HoloToolkit-Examples / MotionControllers-GrabMechanics / Scripts / ControllerReleaseData.cs
SURFACEBOOK2\jackwynne on 25 May 2018 519 bytes v1
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using UnityEngine;

namespace HoloToolkit.Unity.InputModule.Examples.Grabbables
{
    public struct ControllerReleaseData
    {
        public Vector3 Velocity;
        public Vector3 AngleVelocity;

        public ControllerReleaseData(Vector3 _vel, Vector3 _angVel)
        {
            Velocity = _vel;
            AngleVelocity = _angVel;
        }
    }
}