Replies: 5 comments
-
Hi @amea32179, On the MRTK XR Rig > CameraOffset > MRTK RightHand Controller > Far Ray there is a component MRTK Ray Reticle Visual. You will want to set the Base Reticle to the cursor game object you want, and Reticle Root to a transform that controls the position of that game object. (Also, if you want a custom cursor only when hovering a specific Interactable, under Base Interactable Settings > Base XRI Settings you can set a custom reticle for that Interactable). |
Beta Was this translation helpful? Give feedback.
-
Hi @marlenaklein-msft, |
Beta Was this translation helpful? Give feedback.
-
Hi @amea32179, You're correct, currently these cannot be set at runtime. Could you open a feature request for this? We will look into if these should be exposed as public properties for a future release. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks @marlenaklein-msft for the quick reply. Have create the feature request - #11702 |
Beta Was this translation helpful? Give feedback.
-
@amea32179 can you please describe your scenario a bit more? In what scenario are you trying to change the "cursor" (or "reticle")? If you are just wanting to change the reticle when hovering over an interactable, have you tried using the "custom reticle" property on the interactable itself. This will change the cursor when you hover over the interactable. If you want to change the cursor, regardless of what interactable is being hovered, I recommend finding the If you want to change the cursor regardless of what interactable is being hovered and without calling At this time, we don't believe it necessary to expose the underlying reticle game objects. |
Beta Was this translation helpful? Give feedback.
-
How can we set a custom cursor in MRTK 3 for far ray
Beta Was this translation helpful? Give feedback.
All reactions