~starkingdoms/starkingdoms

ref: f2e6e1be0033ee7734326fabc2e60a9107e9a077 starkingdoms/crates/unified/src/server/gravity.rs -rw-r--r-- 235 bytes
f2e6e1be — core Revert "working on making the game work with this networking" 7 days ago
                                                                                
1
2
3
4
5
6
7
use crate::prelude::*;
use crate::server::system_sets::WorldUpdateSet;
use crate::shared::gravity::update_gravity;

pub fn newtonian_gravity_plugin(app: &mut App) {
    app.add_systems(Update, update_gravity.in_set(WorldUpdateSet));
}