Post

Replies

Boosts

Views

Activity

Comment on Reality Composer (RC) Entity visible bug?
`import SwiftUI import RealityKit struct ContentView : View { var body: some View { return ARViewContainer().edgesIgnoringSafeArea(.all) } } struct ARViewContainer: UIViewRepresentable { func makeUIView(context: Context) -> ARView { let arView = ARView(frame: .zero) // Load the "Box" scene from the "Experience" Reality File let boxAnchor = try! Experience.loadBox() // Add the box anchor to the scene arView.scene.anchors.append(boxAnchor) //boxAnchor.notifications.b0.post() //boxAnchor.steelBox?.isEnabled = false let seconds = 4.0 DispatchQueue.main.asyncAfter(deadline: .now() + seconds) { boxAnchor.steelBox?.isEnabled = true } return arView } func updateUIView(_ uiView: ARView, context: Context) {} }` RC: [object Object]
Sep ’21