Skip to main content
ameantai
New Participant
April 19, 2025
Solved

Disable Controller Cursor for Mesh/Material

  • April 19, 2025
  • 2 replies
  • 572 views

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?

    This topic has been closed for replies.
    Best answer by ameantai

     

    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

     

    2 replies

    Meta Employee
    April 24, 2025

    You can do this via the hittable attribute on the Mesh Component:

    entity.setComponent(Mesh(Uri.parse("duck.glb"), hittable = MeshCollision.NoCollision))
    

     

    ameantai
    ameantaiAuthorAnswer
    New Participant
    April 25, 2025

     

    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