realitykit Questions
2
I have an immersive space that I want to add a gesture recognizer to. I want the ability to detect a pinch / tap gesture anywhere in the immersive space.
ImmersiveSpace(id: "FlappyImmersiveSpa...
Doralin asked 25/12, 2023 at 0:23
1
I'm trying to add buttons to my immersive view. The buttons have been added perfectly, but when I click on them, nothing happens. The click event is not being recognized at all.
Here's my implement...
Mitrailleuse asked 30/9 at 3:36
1
I'm trying to implement a feature using SwiftUI and RealityKit, in which a series of 3D objects placed in space (such as cubes or spheres) are automatically detected using a continuous raycast that...
Langobardic asked 24/8, 2023 at 7:55
3
I want to set the dimensions of a WindowGroup to a specific size when running on visionOS. On iOS and maOS we have the .defaultSize modifier for that. When building for visionOS, Xcode offers a sli...
Amberjack asked 23/6, 2023 at 11:33
1
Solved
I know that transform of a 3d model provides scale, rotation and translation info, but is there a way we can calculate the size of a 3d model in visionOS?
Illumination asked 15/4 at 8:27
3
Solved
I have created a custom shader material in Reality Composer Pro (RCP). I can attach it to models in RCP without a problem, but my issue is that I am creating my models in code. I can not figure out...
Cyclopedia asked 17/7, 2023 at 4:56
3
Working on user position tracking in visionOS within Immersive Space. Any insights or tips to navigate this? Docs seem elusive at the moment. I searched and found queryPose but Xcode throws error.
...
Hinayana asked 30/11, 2023 at 9:45
1
Solved
I have successfully loaded a ShaderGraphMaterial object from a Reality Composer Pro usda file -- here is a the graph program:
When I attempt to set a parameter
try shotTrailMaterial?.setParameter(...
Doenitz asked 19/1 at 6:31
2
I use simple transform and move method to animate my entity. Something like this:
let transform = Transform(scale: .one,
rotation: simd_quatf(angle: .pi, axis: [0,0,1]),
translate: .zero)
myEn...
Mashhad asked 19/7, 2023 at 9:25
2
How to use multiple animations for a USDZ 3D character in RealityKit?
Play an idle animation, when it walks, when it jumps, etc.
Materials asked 2/7, 2023 at 16:48
2
In RealityKit there is the default EntityTranslationGestureRecognizer which you can install to Entities to allow dragging them along their anchoring plane. In my use-case, I will only allow moving ...
Newsdealer asked 11/2, 2023 at 3:56
1
Solved
I have created an app for visionOS and opened Packages/RealityKitContent/package file in Reality Composer Pro.
I clicked + button in top right corner and added Material Library/Generic/Metal/Scrat...
Neoplasm asked 22/12, 2023 at 19:29
3
I want to draw the mesh point on the detected plane as shown in the ARCore video link and I don't know how to achieve it.
Can you help me out to achieve this? Thanks in advance.
Thy asked 4/3, 2022 at 6:20
1
I have been working to learn how to perform 3D body tracking, using Apple's sample project. My goal is to replace the model in this project with my own 3D model, which I have built to match Apple's...
Kono asked 24/2, 2020 at 3:58
2
I want to achieve the billboard effect in RealityKit (the plane always look at the camera), I used the Entity.Look() method, but the result is weird, I can't even see the plane, the scripts I used ...
Insect asked 7/3, 2020 at 12:19
3
Solved
Is there anyway to know the size of the ModelEntity as SIMD3? Once, I get the size, I want to pass it to the CollisionComponent.
let box = ModelEntity(mesh: MeshResource.generateBox(size: 0.2),
...
Twomey asked 5/5, 2022 at 17:41
3
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 ...
Ivan asked 28/11, 2019 at 8:8
2
Solved
From developer.apple.com, it is described as follows,
ARKit: Integrate iOS device camera and motion features to produce augmented reality experiences in your app or game.
and
RealityKit: Simulat...
Dunaville asked 16/3, 2023 at 7:40
1
Solved
With a RealityView, an entity can be rotated using a gesture detector to the entire view:
RealityView { content in
let loadedEntity = try await ModelEntity(named: modelName,
in: RealityKitConten...
Partiality asked 2/8, 2023 at 20:7
2
Solved
When loading a model as a Model3D object, you can add a gesture modifier like so:
Model3D(named: model_name, bundle: realityKitContentBundle){ model in
model
.resizable()
.aspectRatio(contentMo...
Cinelli asked 30/7, 2023 at 1:8
2
Solved
I think RealityView should be able to do more fancy stuffs, but I still want to figure out the exact differences between them. For now, they are just too similar to each other, e.g. they both need ...
Tyranny asked 23/7, 2023 at 8:28
2
Solved
Let's say for example, I want to anchor a cloud above the user's head.
I know that AnchorEntity exists and that you can get a reference to the user's head with AnchorEntity(.head). But how do I act...
Histogenesis asked 27/6, 2023 at 1:25
1
Is there a particle system in RealityKit? if so, can someone point me to the correct documentation/articles?
So far I did not find any particle systems in the RealityKit module.
Smithery asked 14/6, 2023 at 14:23
3
I've constructed a scene in Reality Composer that has a ball that starts the scene floating in the air. I'm attempting to programmatically throw the ball while simultaneously spinning it.
I tried...
Fefeal asked 11/4, 2020 at 21:4
1
Solved
I have a .rcproject file with a goal (football gate) and a ball, the ball has physics of Dynamic and Rubber material, and the goal is Fixed with Lead material. When I load the scene from the .rcpro...
Sec asked 4/5, 2023 at 20:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.