bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.46k stars 3.6k forks source link

Difference between Scene and DynamicScene is not clear #16353

Open s-puig opened 2 weeks ago

s-puig commented 2 weeks ago

How can Bevy's documentation be improved?

Scene

/// A composition of [World] objects. /// /// To spawn a scene, you can use either: /// SceneSpawner::spawn /// adding the SceneRoot component to an entity.

DynamicScene

/// A collection of serializable resources and dynamic entities. /// /// Each dynamic entity in the collection contains its own run-time defined set of components. /// To spawn a dynamic scene, you can use either: /// SceneSpawner::spawn_dynamic /// adding the DynamicSceneRoot component to an entity. /// * using the [DynamicSceneBuilder] to construct a DynamicScene from World.

It is not clear what is the difference between a Scene and a DynamicScene or what are their use-cases.