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
26
votes
1 answer

What is ARAnchor exactly?

I'm trying to understand and use ARKit. But there is one thing that I cannot fully understand. Apple said about ARAnchor: A real-world position and orientation that can be used for placing objects in an AR scene. But that's not enough. So my…
PrepareFor
  • 2,448
  • 6
  • 22
  • 36
8
votes
4 answers

RealityKit - Animate opacity of a ModelEntity?

By setting the color of a material on the model property of a ModelEntity, I can alter the opacity/alpha of an object. But how do you animate this? My goal is to animate objects with full opacity, then have them fade to a set opacity, such as…
ColdLogic
  • 7,206
  • 1
  • 28
  • 46
6
votes
1 answer

ARKit app cannot replay a recorded ARSession from Reality Composer

I followed the instructions here to record an ARKit mov session using the Reality Composer app, but when I load in Xcode and run with an ARKit app, the app shows a black screen and shows errors: The app runs fine without the .mov file 2021-07-17…
jiawen
  • 1,198
  • 2
  • 17
  • 29
6
votes
1 answer

How to prevent Entities from overlapping?

I'm trying to create an AR experience with RealityKit but I'm finding that by default, entities will move into each other and overlap when they are moved by user interaction. I want to prevent the objects from overlapping and entering each other, so…
6
votes
2 answers

RealityKit – How to set a ModelEntity's transparency?

In SceneKit, there are lots of options such as Use alpha channel of UIColor via SCNMaterial.(diffuse|emission|ambient|...).contents Use SCNMaterial.transparency (a CGFloat from 0.0 to 1.0) Use SCNMaterial.transparent (another…
Jian Jin
  • 111
  • 1
  • 5
6
votes
3 answers

Dynamically change text of RealityKit entity

I have created a very simple scene ("SpeechScene") using Reality Composer, with a single speech callout object ("Speech Bubble") anchored to a Face anchor. I have loaded this scene into code via the following: let speechAnchor = try!…
lreichold
  • 755
  • 12
  • 27
6
votes
1 answer

RealityKit – Set text programmatically of an Entity of Reality Composer

In my iOS app I want to introduce a part of AR using the new Reality Composer. In my project I load a scene with this code: let arView = ARView.init(frame: frame) // Configure the AR session for horizontal plane tracking. let arConfiguration =…
BlackRock
  • 421
  • 1
  • 5
  • 18
5
votes
1 answer

Disable live camera feed in ARSCNView?

Is there any way to disable the live camera feed and pass the custom video as input in ARSession? I want to achieve Record & Replay ARSession by code.
5
votes
1 answer

Tell if a user’s browser supports USDZ or Reality Composer file formats

I have created some files in the "reality" format using Apple’s Reality Composer app for iOS. I had a difficult time figuring out how to implement it on the web. After looking at some webpages that include USDZ files on them, I finally put this into…
5
votes
1 answer

How to Add Material to ModelEntity programatically in RealityKit?

The docs for RealityKit include the structs: OcclusionMaterial, SimpleMaterial, and UnlitMaterial for adding materials to a ModelEntity. Alternatively you can load in a model with a material attached to it. I want to add a custom material/texture to…
iicaptain
  • 1,065
  • 1
  • 13
  • 37
4
votes
1 answer

RealityKit – Wrong ModelEntity position

I have created a simple scene in a RealityKit file using RealityKit composer: Then I created an arView and I added to its anchor my scene's anchor: arView.scene.anchors.append(ARSceneViewModel().sceneAnchor) I created an ARSceneViewModel class…
Edoardo
  • 657
  • 7
  • 24
4
votes
1 answer

Is this RealityKit stuff poorly conceived or am I missing something?

I am trying to play with Augmented Reality using Reality Kit. I want to have my program do one of the following things, selectable by the user: Detect horizontal surfaces only. Detect vertical surfaces only. Detect both, horizontal and vertical…
Duck
  • 34,902
  • 47
  • 248
  • 470
4
votes
1 answer

How do I access the model component of Reality Composer in RealityKit?

I'm trying to change the model component of a text entity created in Reality Composer in my code, but this as! casting the gui-created entity to a reference to an entity with a model component failed. self.entityReference =…
3
votes
1 answer

Custom collision shape appears in wrong position

I load an Entity from Reality Composer and I add a custom CollisionShape. These are the steps I follow: // I get the `.reality` url and I load the model let rocketSceneUrl = Bundle.main.url(forResource: "Experience", …
TheoK
  • 3,601
  • 5
  • 27
  • 37
3
votes
1 answer

How to preserve behaviors from Reality Composer?

I want to show Reality Composer experience on an image, however I don't want the AR Objects to hide when I lose track of the image, So I created an AnchorEntity and fetched the translation of the ImageAnchor from the didAdd anchors delegate method…
Mostafa
  • 1,522
  • 2
  • 18
  • 34
1
2 3
10 11