~starkingdoms/starkingdoms

ref: aa66f9e7ccc943f231bba5bdd9d58d46d935a056 starkingdoms/crates/unified/src/server/gravity.rs -rw-r--r-- 235 bytes
aa66f9e7ghostly_zsh working on making the game work with this networking 9 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));
}