use ProjectileOrigin joint (#36)
This commit is contained in:
@@ -98,7 +98,7 @@ fn on_trigger_gun(
|
||||
};
|
||||
|
||||
let mut t = Transform::from_translation(state.pos).with_rotation(rotation);
|
||||
t.translation += (t.forward().as_vec3() * 2.) + (Vec3::Y * 0.6);
|
||||
t.translation += t.forward().as_vec3() * 2.0;
|
||||
|
||||
commands
|
||||
.spawn((
|
||||
|
||||
Reference in New Issue
Block a user