This commit is contained in:
parent
ad31b1220c
commit
1e9860e3a1
|
@ -307,8 +307,7 @@ fn spawn_portal_colliders<D: 'static + Clone + Default + Send + Sync>(
|
||||||
for portal_entity in portals.iter() {
|
for portal_entity in portals.iter() {
|
||||||
commands
|
commands
|
||||||
.entity(portal_entity)
|
.entity(portal_entity)
|
||||||
.insert(Collider::cuboid(0.5, 0.5))
|
.insert((Collider::cuboid(0.5, 0.5), Sensor));
|
||||||
.insert(Sensor);
|
|
||||||
}
|
}
|
||||||
commands.entity(entity).remove::<SpawnColliders>();
|
commands.entity(entity).remove::<SpawnColliders>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user