I have a complex object in RC, and I cannot select sub-objects for use as buttons. So I want to try to add invisible 'hit boxes' to capture taps. But I cannot find any way to create an invisible object. I've tried dozes of material tweaks within Blender (then export to GTLF, then convert to USDZ with Reality Converter) but no matter what the resulting cube has reflectivity and is not truly invisible.
If I cannot select the part of the model that I want to act as a trigger, what can I do to achieve this?
Note: the deliverable is a .reality file, not an app.
Raycasting-ready invisible box
You cannot make any model invisible in macOS Reality Composer 1.5 other than using the Action called
Hide. But it's not your case.However, you can do it programmatically. For that, export your box scene as
.usdzor.realityfile, import it into Xcode project, find a box primitive in your scene, and apply a new invisible shader usingUnlitMaterial(color: .clear)object.Here's my code: