Hello,
I am learning Bevy and Rust and I am trying to import a basic map from Gaea but the result is bad.
Here is my code to instantiate the terrain:
#[derive(AssetCollection, Resource)]
pub struct TerrainAssets {
#[asset(path = "Mesher.gltf#Scene0")]
mesh: Handle<Scene>,
}
fn spawn_map(mut commands: Commands, terrain_assets: Res<TerrainAssets>) {
commands.spawn(SceneRoot(terrain_assets.mesh.clone()));
}```