Right click hammer time!

This commit is contained in:
nothke committed 2024-08-20 00:20:33 +02:00
1 parent 71f05400e4
commit 965e207eb4
5 files changed
+49 -15

No files matched your search

@@ -91,6 +91,7 @@ namespace Nothke.Interaction.Items
if (itemInHands) return;
item = _item as Interactable;
item.manager = controller;
if (_item.Rigidbody)
_item.Rigidbody.isKinematic = true;
@@ -147,6 +148,8 @@ namespace Nothke.Interaction.Items
Debug.Log($"Dropped {item.name}");
item.manager = null;
itemInHands = null;
item = null;
}