Updated Debug prefab to be the testing version

Update Inventory Selection to work with debug prefab
This commit is contained in:
Melbyj1125
2021-11-05 13:07:04 -05:00
parent 5375647063
commit 758f06f775
11 changed files with 77 additions and 107 deletions

View File

@@ -64,7 +64,7 @@ public class dKickController : NetworkBehaviour
private void OnCollisionEnter(Collision collision)
{
if (!IsLocalPlayer) { return; }
//if (!IsLocalPlayer) { return; }
Collider myCollider = collision.contacts[0].thisCollider;
if (collision.transform.CompareTag("kickable") && myCollider == leg.GetComponent<Collider>()){
Vector3 direction = this.transform.forward;