I design a scene in Reality Composer, design triggers, events and actions. I save the scene as a *.rcproject file and export it as a *.reality file. In Xode, it turns out to load the file as shown here https://developer.apple.com/documentation/realitykit/creating_3d_content_with_reality_composer/loading_reality_composer_files_manually_without_generated_code, post it as Entity in ARSession. Everything works perfectly according to the designed logic (by tapping on the screen, the billiard ball starts moving and knocks down the pins).
My questions:
- How do I access the Xcode triggers that I have designed in Reality Composer from code? No, the generated code is not here for me? Can I upload the .*reality file only as an Entity?
- If I cannot work with the .*reality file as I suppose, can I not physically add the *.rcproject file to the project, but load the file from an external source, thereby gaining access to the generated code and event triggers?