diff --git a/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs b/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs index 72eb8f22..b2a0909a 100644 --- a/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs +++ b/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs @@ -36,6 +36,7 @@ public class PlayerController : Script public bool holdItem { get; set; } public bool isAiming { get; set; } + [Tooltip("The game object for where the player will respawn to")] public GameObject respawnPoint; private float delayTimer = 0.0f; diff --git a/Assets/Scripts/Gameplay/SC_Item.cs b/Assets/Scripts/Gameplay/SC_Item.cs index 80b08dd8..a08b78cc 100644 --- a/Assets/Scripts/Gameplay/SC_Item.cs +++ b/Assets/Scripts/Gameplay/SC_Item.cs @@ -13,16 +13,10 @@ public class Item : Script public ItemCategory currCategory; private RigidBody rb; - private Collider collider; private bool once = false; protected override void awake() { - collider = GetComponent(); - if (collider) - { - collider.GetCollisionShape(0).Density = 1; - } rb = GetComponent(); if (rb) {