visionos 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
2
Solved
How do I connect my Vision Pro to Xcode for development on my Mac?
Damoiselle asked 3/2 at 23:55
9
Solved
I have a video analysis app and i'm trying to make it compatible with visionOS. It crashes because camera is not allowed; Apple only allows to import videos from Photos.
So I would need to check on...
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
2
I'm working on a SwiftUI app for visionOS and I'd like to support multiple windows in my app to enhance the user experience. However, I couldn't find specific documentation or examples on how to ac...
1
I'm picking Swift development back up for the first time in many years to play w/ VisionOS. SwiftUI is new to me so I'm not sure if I'm missing something or if this is a bug.
The results of running...
Corene asked 9/2 at 20:28
3
Solved
I want to build my visionOS app to my Vision Pro for the first time. There is no cable or any way to physically connect the device to my MacBook, so how do I do it?
Mcmichael asked 3/2 at 3:35
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
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
2
Solved
Is there something similar to UIScreen.main.bounds on visionOS?
I have some code that depends on the screen size and using a hard coded value for it doesn’t really work out unfortunately.
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
Solved
I tried to build my iOS target for visionOS and get the following error:
Your target is built for xrOS but contains embedded content built for
the iOS platform (Ploppy Pairs Clip.appex), which is ...
Ptyalin asked 22/6, 2023 at 9:53
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
1
© 2022 - 2024 — McMap. All rights reserved.