Posts

Post not yet marked as solved
1 Replies
// When it is dismissed, there is no way to bring it back. DocumentGroup(newDocument: { TestDocument() }) { file in ContentView() } // I can bring it back by opening it with its ID. WindowGroup(id: "TestWindow") { TestWindowView() } .windowStyle(.plain) Here is some more information about the issue.
Post not yet marked as solved
1 Replies
Finally, I have solved the issue. For USDZ files RealityKit is a better technology than SceneKit. All I had to do: Place the USDZ file in to the scene as I normally would with any file. Set the camera mode of ARView to .nonAR: arView.cameraMode = .nonAR arView.cameraMode = .nonAR 3. Start and repeat its animation: entity.availableAnimations.forEach { entity.playAnimation($0.repeat()) }