Update dependencies

This commit is contained in:
Sébastien Crozet
2023-01-15 11:59:15 +01:00
parent 56aa0f5e73
commit 9b5ccb95e7
19 changed files with 116 additions and 107 deletions

View File

@@ -44,7 +44,7 @@ impl EntityWithGraphics {
color: Point3<f32>,
sensor: bool,
) -> Self {
let entity = commands.spawn().id();
let entity = commands.spawn_empty().id();
let scale = collider_mesh_scale(shape);
let mesh = prefab_meshs
@@ -108,7 +108,7 @@ impl EntityWithGraphics {
};
let mut entity_commands = commands.entity(entity);
entity_commands.insert_bundle(bundle);
entity_commands.insert(bundle);
if sensor {
entity_commands.insert(Wireframe);