MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Add Spatial Mouse Controller to MRTK3

Open sgreenlay-msft opened this issue 3 years ago • 11 comments

Overview

Adds a new controller that can be added to an MRTK XR Rig to enable a spatial mouse on XR devices (HL2, Quest, PC VR) with similar behaviour to the HL2 system mouse.

GIF 6-27-2022 10-04-40 AM

sgreenlay-msft avatar Jun 29 '22 21:06 sgreenlay-msft

/azp run

Zee2 avatar Jun 29 '22 21:06 Zee2

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 29 '22 21:06 azure-pipelines[bot]

/azp run

keveleigh avatar Jun 30 '22 19:06 keveleigh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 30 '22 19:06 azure-pipelines[bot]

/azp run

sgreenlay-msft avatar Jun 30 '22 23:06 sgreenlay-msft

Commenter does not have sufficient privileges for PR 10690 in repo microsoft/MixedRealityToolkit-Unity

azure-pipelines[bot] avatar Jun 30 '22 23:06 azure-pipelines[bot]

@sgreenlay-msft , some of the scroll-Z math seems to be borked when the camera isn't centered. wonky_scroll

Repro; just move the camera/head/person/etc and scroll.

Zee2 avatar Jul 01 '22 01:07 Zee2

Also, now that the cursor stays at the last known depth (and also doesn't resize with distance) if you push an object very far away, the cursor becomes basically invisible until it happens to hit an object again.

Zee2 avatar Jul 01 '22 01:07 Zee2

Another thing; you should probably remove the proxlight from the mouse because it interferes with the proxlights on the fingertips and hand rays (we only get two, for perf reasons)

Zee2 avatar Jul 01 '22 02:07 Zee2

/azp run

keveleigh avatar Jul 01 '22 23:07 keveleigh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 01 '22 23:07 azure-pipelines[bot]

This was completed with the following

  • https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11643

AMollis avatar Jun 27 '23 04:06 AMollis