mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-22 10:24:42 -05:00
Updated Debug prefab to be the testing version
Update Inventory Selection to work with debug prefab
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user