Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Implement Grip Pose Input action for Oculus Touch controllers #713

Merged
merged 6 commits into from
Dec 16, 2020

Conversation

FejZa
Copy link
Contributor

@FejZa FejZa commented Dec 14, 2020

XRTK - Mixed Reality Toolkit Pull Request

Overview

Implemented grip pose input action for Oculus touch controllers. Useful when grabbing something and looking to "attach" it to the controller's / hand's grip pose.

Submodule Changes

private void UpdateSpatialGripData(MixedRealityInteractionMapping interactionMapping)
{
Debug.Assert(interactionMapping.AxisType == AxisType.SixDof);
interactionMapping.PoseData = CurrentControllerPose;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on Oculus PR, needs GripPoseOffset update.

Should also look to adding the GripPoseOffset variable to the BaseController definition for use in all controllers (but only implement in those that need it for now)

@FejZa FejZa added In Progress PR currently still being developed and removed Ready for review PR finished primary development, open for review labels Dec 15, 2020
@StephenHodgson StephenHodgson merged commit 0c5e356 into development Dec 16, 2020
@StephenHodgson StephenHodgson deleted the feature/oculus-touch-grip-pose branch December 16, 2020 00:11
XRTK-Build-Bot pushed a commit that referenced this pull request Dec 25, 2020
* Add grip pose to default open vr mappings

* Implement raising grip pose in OTouch OpenVR

* Add grip pose offset

* Move grip pose offset to BaseController

Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
In Progress PR currently still being developed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants