From 9716a7d085b1351f966f5d6cf2af73abbe1c82b0 Mon Sep 17 00:00:00 2001 From: teascade Date: Mon, 19 Aug 2019 21:29:08 +0300 Subject: [PATCH] Fix colliders for weapons --- Assets/Prefabs/Guns/Grenade Launcher.prefab | 4 ++-- Assets/Prefabs/Guns/Revolver.prefab | 4 ++-- Assets/Prefabs/Guns/Shotgun.prefab | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Assets/Prefabs/Guns/Grenade Launcher.prefab b/Assets/Prefabs/Guns/Grenade Launcher.prefab index 52e1cd0..00d3b49 100644 --- a/Assets/Prefabs/Guns/Grenade Launcher.prefab +++ b/Assets/Prefabs/Guns/Grenade Launcher.prefab @@ -101,7 +101,7 @@ BoxCollider2D: m_IsTrigger: 0 m_UsedByEffector: 0 m_UsedByComposite: 0 - m_Offset: {x: 0, y: 0} + m_Offset: {x: 0.23319963, y: 0.043477774} m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0, y: 0} @@ -112,7 +112,7 @@ BoxCollider2D: adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 1, y: 1} + m_Size: {x: 0.6679868, y: 0.3280692} m_EdgeRadius: 0 --- !u!114 &4462327694118370269 MonoBehaviour: diff --git a/Assets/Prefabs/Guns/Revolver.prefab b/Assets/Prefabs/Guns/Revolver.prefab index 5602749..12a6b84 100644 --- a/Assets/Prefabs/Guns/Revolver.prefab +++ b/Assets/Prefabs/Guns/Revolver.prefab @@ -101,7 +101,7 @@ BoxCollider2D: m_IsTrigger: 0 m_UsedByEffector: 0 m_UsedByComposite: 0 - m_Offset: {x: 0, y: 0} + m_Offset: {x: 0.1389752, y: 0.056619644} m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0, y: 0} @@ -112,7 +112,7 @@ BoxCollider2D: adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 1, y: 1} + m_Size: {x: 0.98970556, y: 0.92793894} m_EdgeRadius: 0 --- !u!114 &4462327694118370269 MonoBehaviour: diff --git a/Assets/Prefabs/Guns/Shotgun.prefab b/Assets/Prefabs/Guns/Shotgun.prefab index 4b1398b..649f177 100644 --- a/Assets/Prefabs/Guns/Shotgun.prefab +++ b/Assets/Prefabs/Guns/Shotgun.prefab @@ -101,7 +101,7 @@ BoxCollider2D: m_IsTrigger: 0 m_UsedByEffector: 0 m_UsedByComposite: 0 - m_Offset: {x: 0, y: 0} + m_Offset: {x: 0.2569147, y: 0.06521666} m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0, y: 0} @@ -112,7 +112,7 @@ BoxCollider2D: adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 1, y: 1} + m_Size: {x: 0.7312277, y: 0.56126904} m_EdgeRadius: 0 --- !u!114 &4462327694118370269 MonoBehaviour: