diff --git a/server/src/lib.rs b/server/src/lib.rs index c342fb1bab..988ebe12e7 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -210,7 +210,7 @@ impl Server { .create_entity_synced() .with(pos) .with(vel) - .with(comp::Ori(Vec3::unit_y())) + .with(comp::Ori(vel.0.normalized())) .with(body) .with(projectile) }