diff --git a/src/logic/core/guns/shoot.rs b/src/logic/core/guns/shoot.rs index 1128ed1..76c64f2 100644 --- a/src/logic/core/guns/shoot.rs +++ b/src/logic/core/guns/shoot.rs @@ -15,12 +15,11 @@ pub fn shoot_bullet( _up: Vec3, caliber: Caliber ) { - //let transform = Transform::from_translation(firing_point).look_at(target, up) // Spawn muzzle flash LIGHT commands.spawn( (PointLightBundle { point_light: PointLight { - //252, 238, 128 + //RGB 252, 238, 128 color: Color::Rgba { red: 252., green: 238., blue: 128., alpha: 0.5 }, intensity: 0.005, range: 50.0, @@ -32,9 +31,6 @@ pub fn shoot_bullet( ..Default::default() }, MuzzleFlashMarker(Timer::new(Duration::from_millis(10), TimerMode::Once))) ); - - println!("origin: {}", firing_point.translation); - println!("end: {}", firing_point.forward() * caliber.range()); commands.spawn( MaterialMeshBundle { mesh: { @@ -51,7 +47,6 @@ pub fn shoot_bullet( ..Default::default() } ); - } /*