Skip to content

Commit

Permalink
feat: Reinforced isKinematic behaviour of Grabbable
Browse files Browse the repository at this point in the history
  • Loading branch information
ccontinisio committed Jan 14, 2025
1 parent cefd97f commit a185c31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/Player/Grabbable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ private void OnStateAuthority()
{
// Authority change happened as a result of a pick up action
_pickupRequested = false;
_rigidbody.isKinematic = true;
ConfirmPickup();
}
else
Expand Down

0 comments on commit a185c31

Please sign in to comment.