microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Have the cursor icon change for spatial manipulation controls [MRTK3] #11221

Closed RogPodge closed 1 year ago

RogPodge commented 1 year ago

This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:


The MRTK3 cursors do not change to different icons when using spatial manipulation controls. This issue tracks adding custom cursor icons during these key scenarios.

Example include:

Showing a resize or rotate control when a cursor is over a bounding box affordance Showing a translation icon when cursor is hovering over a moveable object.

RogPodge commented 1 year ago

Currently blocked by the XRI implementation. Currently, interactables aren't allowed to modify the custom cursor before it is attached to the interactable hovering over it, without reimplementing the XRBaseInteractable's caching system. This interferes with our ability to change and orient the icon of a bounds control handle relative to the center of the bounds control itself.

We really need to bring this up to the XRI team ASAP to be unblocked on our implementation.

keveleigh commented 1 year ago

Reopening and marking as blocked, from the comments above

marlenaklein-msft commented 1 year ago

Closing with #11603.