disable "sleeping" of actors in physics engine

This commit is contained in:
yuni 2024-04-08 02:15:58 +02:00
parent 6a93193720
commit ca89a6eaff

View file

@ -588,6 +588,7 @@ fn spawn_entities(
camdistance: state.camdistance,
..default()
});
actor.insert(SleepingDisabled);
actor.insert(world::DespawnOnPlayerDeath);
actor.insert(actor::HitPoints::default());
actor.insert(Position::from(state.pos));