RealityBounds
RealityBounds copied to clipboard
The Bound Box is clipped in volume window using default paramters
What is the situation?
I just put the default code into the official volume project template:
import SwiftUI
import RealityKit
import RealityBounds
struct GameWindow: View {
var body: some View {
RealityView { content in
content.add(BoundsVisualizer(boundes: []))
}
}
}
But the bound box does not display on the simulator:
I use debug visualize to check, the bound box is put on the right position but I just can't see them: