From f4102db0090d2ae7e9cd1d0c4a5d9a8fa2fadeba Mon Sep 17 00:00:00 2001 From: Franklin Date: Tue, 21 Nov 2023 15:19:46 -0400 Subject: [PATCH] Fixed ak105 size --- src/comps/core/items/guns/ak105.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comps/core/items/guns/ak105.rs b/src/comps/core/items/guns/ak105.rs index 5903f8f..afebe0a 100644 --- a/src/comps/core/items/guns/ak105.rs +++ b/src/comps/core/items/guns/ak105.rs @@ -7,7 +7,7 @@ use bevy_rapier3d::{dynamics::{RigidBody, GravityScale, ExternalImpulse}, geomet use crate::{comps::core::{ grid::UGrid, items::item::{Item, ItemType, ItemId}, - markers::{holdable::HoldableObjectType, interactable::Interactable, proxy::weapons::initial_attachments::InitialAttachments}, inventory::slot::PlayerInventorySlotType, weapons::{firearm::Firearm, firearm_data::FirearmData, attachments::weapon_attachment::WeaponAttachment}, events::pickup_item::ItemState, + markers::{holdable::HoldableObjectType, interactable::Interactable, proxy::weapons::initial_attachments::InitialAttachments}, inventory::slot::PlayerInventorySlotType, weapons::{firearm::Firearm, firearm_data::FirearmData}, events::pickup_item::ItemState, }, setup::assets::{GltfAssets, GltfAssetType}, utils}; #[derive(Component, Clone)] @@ -81,7 +81,7 @@ impl Item for Ak105GunItem { ), ); firearm_transform.scale = - firearm_transform.scale * firearm_data.scale_factor; + firearm_transform.scale * firearm_data.scale_factor * 3.0; let scene = gltf.scenes[0].clone(); let firearm_asset_entity = commands