disable "sleeping" of actors in physics engine
This commit is contained in:
parent
6a93193720
commit
ca89a6eaff
|
@ -588,6 +588,7 @@ fn spawn_entities(
|
||||||
camdistance: state.camdistance,
|
camdistance: state.camdistance,
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
|
actor.insert(SleepingDisabled);
|
||||||
actor.insert(world::DespawnOnPlayerDeath);
|
actor.insert(world::DespawnOnPlayerDeath);
|
||||||
actor.insert(actor::HitPoints::default());
|
actor.insert(actor::HitPoints::default());
|
||||||
actor.insert(Position::from(state.pos));
|
actor.insert(Position::from(state.pos));
|
||||||
|
|
Loading…
Reference in a new issue