I have a model called ChessPiecesModel
and inside this model contains pawn, king, queen, etc. models.
I want to render each of these as ModelEntities but it does not render the chess pieces either
This is the current code I have where i am trying to render the ChessPieesModel into a RealityView:
RealityView { content in
if let chessPieces = try? await ModelEntity(named: "ChessPiecesModel") {
chessPieces.transform.translation = .init(x: 0, y: 0, z: 0)
chessPieces.scale = .init(x: 10, y: 20, z: 20)
content.add(chessPieces)
}
}