realitykit Questions
7
I'm trying to load a model and texture in RealityKit (set up in an ARView instance), but I can't seem to figure out how to specify the material should be two-sided.
I have the model loaded up as a...
Wireworm asked 17/10, 2019 at 22:52
1
Solved
So I asked a question a couple of days ago which Andy Jazz kindly answered. So I have been playing with the answer, and although I was able to implement a solution, it is incomplete because the met...
Phenyl asked 1/5, 2023 at 20:50
1
Solved
So I have a Reality Composer file "Experience" loaded onto an XCode project with three scenes.
I have added behaviors and actions that work in XCode. The actions work perfectly, hiding an...
Acierate asked 29/4, 2023 at 22:10
1
Solved
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(forReso...
Spielman asked 30/4, 2023 at 4:3
1
Solved
So I asked a different question before, and arrived at a partial solution. I was able to add gestures to ONE of the two model entities on one scene, but not the other. Because when you print the sc...
Theologue asked 30/4, 2023 at 0:13
1
Solved
I am trying to load an Entity into my code from a scene in a Reality Composer project.
I am reaching out directly to the autogenerated .reality file because I do not want it placed automatically on...
Tomika asked 29/4, 2023 at 13:49
1
I am doing the following:
detect an image with an ARWorldTrackingConfiguration with maximumNumberOfTrackedImages set to 1
when the image disappears and didUpdate is called, create a plane with a V...
Pianola asked 5/4, 2023 at 20:38
2
Has anyone found a workflow to create multiple animations for a skeletal mesh packaged in a USDZ file and playback the animations using RealityKit?
I have a skeletal mesh with two animations (idle ...
Apotropaic asked 31/8, 2020 at 14:3
1
I have been trying to create an ARView for over two days now that can record the position of the camera in space over time and then save this to a keyframe file. Basically, I want to create an app ...
Braddock asked 19/2, 2023 at 17:13
1
I am classifying images per frame from ARSession delegate by Vision framework and CoreML in an Augmented Reality app, with ARKit and RealityKit. While processing a frame.capturedImage I am not requ...
Altitude asked 29/12, 2021 at 11:42
1
Solved
I have an Entity called "Table" that represents a table with a sticker on it. This Entity has Model Entities as children (leg1, leg2, leg3, leg4, plank and sticker). Each ModelEntity has ...
Marvelous asked 3/2, 2023 at 19:30
1
Solved
I would like to make a button using SwiftUI. When the button is pressed, the model will hide. I have already read the tutorial in this link (Creating a Trigger), but I don't know how to control it ...
Paraphrastic asked 1/2, 2023 at 15:17
1
I have a 3D Model (USDZ) in RealityKit that has one PBR material. I can select the model via UILongPressGestureRecognizer. When I select it I need the 3D Model to change color, so the user knows th...
Tishtisha asked 19/1, 2023 at 23:57
2
I made a simple cube model with animation in Blender.
Exported it as a .fbx file with the option bake animation turned on.
With Reality Converter I converted the .fbx file to .usdz which I imported...
Irairacund asked 17/1, 2023 at 22:31
1
There is a good question and answer here about dynamically changing text of an entity in a Reality Composer scene. Is there a way to do the same but show it in a QLPreviewController rather than an ...
Annulus asked 15/1, 2023 at 16:48
5
In my project I'm positioning 3d files using ARKit. I'm able to load .dae and .obj format models.
Is there any way I could load .fbx files?
Chancre asked 7/6, 2019 at 12:4
1
Solved
From the question in this If I assign a sound in Reality Composer, can I stop it programmatically in RealityKit?, I would like to use method to resume playback after Play Music.
Can I do that?
Now,...
Distill asked 6/1, 2023 at 18:16
1
Solved
I assign a sound to a scene in Reality Composer as in the image below
I would like to create an UIButton that can be pressed to stop the sound. Can I do that?
War asked 5/1, 2023 at 15:29
1
Solved
I’m trying to render a face mesh with RealityKit, no success yet. So when ARKit detected a human face, then ARSession generates an ARFaceAnchor which has a face geometry mesh in it.
But it cannot b...
Vina asked 20/3, 2022 at 7:35
1
Solved
How can I create a border/outline on a ModelEntity in RealityKit?
Something like this blue border in Reality Composer:
Gravelblind asked 21/12, 2022 at 19:12
1
Solved
Im trying to create a functionality in ARKit where if the user taps on the modelEntity it changes its colour to lets say blue so it indicates that it's selected. But then if the user taps on anothe...
Cunningham asked 17/12, 2022 at 22:53
3
You can now convert 3D models to .usdz files (uncompressed zip archive) using Apple's command line tool bundled with Xcode 10 beta.
Example code to convert an .obj file to .usdz:
xcrun usdz_conve...
Meryl asked 24/6, 2018 at 10:39
2
Solved
I am setting my 3d model’s cull mode and double sided properties directly in my usdz file in my Scene graph. However, once it renders live real time, these properties are automatically reset to def...
Dowd asked 1/7, 2021 at 2:34
2
Solved
I want to show image from gallery.
i am loading the image using imagePicker.
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerControll...
Quiteris asked 12/12, 2021 at 7:29
1
Solved
Here is my previous question about in general apply force for a certain point of an AR object which had a perfect answer.
I have managed to apply force to a given point with a little bit of tinkeri...
Cristiecristin asked 9/8, 2022 at 6:34
© 2022 - 2025 — McMap. All rights reserved.