~starkingdoms/starkingdoms

ref: 1af6398635c5faf1c5b684ad7624dd7e079a3fc4 starkingdoms/crates/unified/src/server/gravity.rs -rw-r--r-- 235 bytes
1af63986 — core Revert "netcode: easing" 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));
}