Questions tagged [reality-composer]

Apple Reality Composer lets you quickly prototype and create high-quality content for AR apps. Also RC allows you produce dynamics and animations for iOS, iPadOS and macOS to enrich your 3D scene.

Reality Composer provides you with a simple and intuitive user interface for making 3D scenes for Augmented and Virtual Reality apps. Reality Composer works on mobile and desktop platforms where you can use native assets' library or use your own .usdz files (developed by Pixar) to compose 3D scenes.

In Reality Composer you can supply your models with physics, animation and audio, then save it inside .reality, .usdz or .rcproject file and open it in -oriented Xcode project. When you build a scene on iPhone or iPad you can test it pressing AR button.

153 questions
1
vote
1 answer

How do I make the back of an object invisible with a mask object?

I would like to hide the back of the object when AR projecting. You see, the object is sort of deepened in the wall. Can I make some kind of mask object so that the object is not visible? import UIKit import RealityKit class ViewController:…
1
vote
1 answer

Programmatically setting texture in Scene generated by Reality Composer

I am creating a cylinder object using Reality Composer. My requirement is to wrap the cylinder with custom image. Image is dynamically created by the app. I have tried following approach and so far it's not working. After loading the anchor from…
1
vote
1 answer

ARKit & Reality composer - how to Anchor scene using image coordinates

I have written code to initialise one of 3 Reality Composer scenes when a button is pressed depending on the day of the month. That all works fine. The Reality Composer scenes use an image detection to place the objects within the environment but…
1
vote
1 answer

How can I anchor a Reality Composer (RealityKit) scene to a detected image

Anchor RealityKit Scene to Image Target I have tried using the limited documentation to write the code but I haven't succeeded. I can only get a scene to anchor to a horizontal plane. Can anyone suggest some simple code that would link a scene made…
1
vote
2 answers

RealityKit and Reality Composer – Image Recognition

I'm working on an application which can recognize an image and then put an AR Node (3D model build with Reality Composer) on top of this image. I want to build this with RealityKit/Reality Composer (which should also support image recognition), but…
1
vote
1 answer

RealityKit and Reality Composer incompatibile with iOS 12 support

In a new update of my app I want to integrate a new AR function using the Reality Composer, this function will available only for iOS 13, but I have a problem. I want to maintain my project compatible with iOS 12, but I'm unable to do this. When I…
BlackRock
  • 421
  • 1
  • 5
  • 18
1
vote
1 answer

How to interact with 3D objects in RealityKit

Problems with interaction of 3D objects. I've found some beta-functions of RealityKit such as PhysicsBodyComponent, applyImpulse, addForce, applyAngularImpulse and etc. I was trying to add physics characteristics to object 'vase' and making an…
0
votes
0 answers

Triggering action on click with Reality Composer Xcode App

I'm building a small AR app with Xcode and Reality Composer which display shapes on different QR code but I'm having a problem. The App combine 4 different scene with different shapes and QR code. When I click on the object in scenea_0, it replace…
scheylon
  • 49
  • 11
0
votes
1 answer

Using ARView.RenderOptions in Xcode AR Kit

I noticed my AR application running very slow. I tried turning off certain rendering options that might influence the speed of the application. This is the script that runs my application: import UIKit import RealityKit class ViewController:…
bigchungus23
  • 33
  • 1
  • 5
0
votes
0 answers

How to use gesture modifiers in RealityKit when removing children from parent entity without removing the entire scene

So I have been struggling with a complex ( 10+ children ) scene that I created in Reality Composer and tested but REALLY struggled when bringing it to Reality Kit. What I want to do is, after the scene is imported, and all the actions on each model…
0
votes
0 answers

Edit Text from Reality Composer

I'm trying to change text from a text box in Reality Composer to something else via an in-app text box. Not sure if this is possible, but any clues should be useful; thank you! Used GPT to help me, as I couldn't figure out how to do it.
0
votes
0 answers

How can I restore behaviors to each ModelEntity() object, grouped together with the HasCollision protocol, from a Reality Composer scene?

So thanks to this answer from Mr. Jazz, I have been able to make all objects in one Reality Composer scene, draggable. Before making them draggable, I had added behaviors to two of the model entities. It worked perfectly: when I opened the app, the…
0
votes
0 answers

Converting .glb file with animation to .reality file and add interaction to play animation

I've got a web app to display and interact with animated glb files in the browser and an AR view button that points to the same model as a usdz file (which is converted from the glb file with USDZTools using usdz converter) to display it in…
matej.slf
  • 1
  • 1
0
votes
0 answers

Cannot bind arView from ContentView to ARViewContainer. How to fix it?

In Main View, I created 2 buttons, Scene1 and Scene2. If Scene1 is clicked, it will navigate to the Content View and show the AR Experience in Scene1. If Scene2 is clicked, it will navigate to the Content View and show the AR Experience in…
kkk
  • 187
  • 8
0
votes
1 answer

What's the difference between sync / async loading of Reality Composer files?

I saw the synchronous and asynchronous loading from this link, but I am not understand about that. Could anyone explain the difference of them. Moreover, there is a caution: Use RealityKit’s synchronous loading methods from the main thread only.…
kkk
  • 187
  • 8