I used Model3D to display a model:
Model3D(named: "Model", bundle: realityKitContentBundle) { phase in
switch phase {
case .empty:
ProgressView()
case .failure(let error):
Text("Error \(error.localizedDescription)")
case .success(let model):
model.resizable()
}
}
However, when I ran, I found that the width and length were not stretched, but when I looked at the depth from the side, they were seriously stretched. What should I do?
Note: For some reason, I can't use the Frame
modifier.
Image:
width and length
error depth