I have a problem with the wall plane detection using visionOS/ARKit:
I am using ARKitSession's PlaneDetectionProvider detection.wall in the space of visionOS. I recorded the position and rotation information of the first detected plane, but found that the rotation value will be facing when the user starts the space. There is a deviation in different directions. That is to say, even if the plane is located on the same wall, the rotation quaternion will be different.
I hope that no matter from which direction the user enters the scan, the real direction of the wall can be correctly obtained so that the virtual content can be accurately aligned with the wall.
I have tried to use anchor.originFromAnchorTransform or Transform.rotation directly, but the rotation value is still affected by the user's initial orientation.
In addition, I would like to know whether the user's initial orientation will affect the location information. If so, please provide a solution.
Thank you!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When I was developing the visionOS 26beta Widget, I found that it could not work normally when the real vision OS was running, and an error would appear.
Please adopt container background api
It is worth mentioning that this problem does not occur on the visionOS virtual machine.
Does anyone know what the reason and solution are, or whether this is a visionOS error that needs Feedback? Thank you!
How to use transporter?
I used createML to generate a text-categorized mlmodel file. I want to import it into my app and let users use it. How can I pour in and write code?
Please note: 1. My app was written with SwiftUI. 2. This createML mlmodel file is used for text classification.
Excuse me, games developed with Unity can be put on the arcade?
Does visionOS support mapkit?
I'm writing a visionOS App using SwiftUI language, in which I wrote a button with the following code:
import SwiftUI
Button(action: {
openWindow(id: landmark.windowTag)
}) {
VStack {
Image(landmark.imageName)
.resizable()
.aspectRatio(contentMode: .fill)
.clipShape(RoundedRectangle(cornerRadius: 10))
.frame(width: 150, height: 150)
VStack(alignment: .leading){
Text(landmark.name)
.font(.title)
.foregroundColor(.white)
Text(landmark.describe)
.font(.subheadline)
.foregroundColor(.gray)
}
}
.frame(width: 200, height: 400)
.padding()
.clipShape(RoundedRectangle(cornerRadius: 20))
}
.padding(20)
My idea is that the border of the button is a rounded square (note that I'm not talking about the picture is a rounded square, but the border of the button is a rounded square), but the default button border of visionOS is oval, so I added the following code:
.clipShape(RoundedRectangle(cornerRadius: 20))
But there is no change in operation, and the border of the button has not become a rounded square. It is still the default oval of visionOS. How can I modify the code?
Does anyone have any income after downloading the game on Apple arcade?
Can arcade be put on the shelves of visionOS games?
I want to do visionOS games. Which one is better, SwiftUI or UIKit? What are the advantages?
Does anyone have any latest news about the Apple Vision Pro Developer Kit?
Developer Kit Link
I now have a developer account to join the Apple developer program. Now I want to add a new developer account to the Apple developer program (with the same identity) without my original account being affected. What should I do?
I now have a developer account to join the Apple developer program. Now I want to add a new developer account to the Apple developer program (with the same identity) without my original account being affected. What should I do?
May I ask how to find the credibility of the Apple Developer Program account?
Is TipKit compatible with visionOS?
In visionOS, in order to fully implement Group Activities, do we need to write additional code?