Forum Discussion
ameant.ai
7 months agoHonored Guest
Disable Controller Cursor for Mesh/Material
How do I turn off the default controller cursor (the annular shade marked off on surfaces by the incident beam of one of the controllers) for a given mesh or material?
- 7 months ago
Thank you, NotBadB. However, I still want HitInfo events to be emitted, as I use them to draw my own cursor in the fragment shader.
That said, the issue can be easily resolved—or rather, worked around—using the new interaction toolkit (SDK v0.6.0). For example, one can control the value of:
systemManager.findSystem<IsdkDefaultCursorSystem>().cursorScaleMultiplier
NotBadB
7 months agoMeta Employee
You can do this via the hittable attribute on the Mesh Component:
entity.setComponent(Mesh(Uri.parse("duck.glb"), hittable = MeshCollision.NoCollision))
ameant.ai
7 months agoHonored Guest
Thank you, NotBadB. However, I still want HitInfo events to be emitted, as I use them to draw my own cursor in the fragment shader.
That said, the issue can be easily resolved—or rather, worked around—using the new interaction toolkit (SDK v0.6.0). For example, one can control the value of:
systemManager.findSystem<IsdkDefaultCursorSystem>().cursorScaleMultiplier
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 8 months ago