From 66b50c97c15d415f051f6278721bd597d864714d Mon Sep 17 00:00:00 2001 From: MrGadget1024 Date: Sat, 16 Oct 2021 14:05:13 -0400 Subject: [PATCH] Updates to PlayerController in examples --- .../Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs | 2 +- .../Examples/MultipleAdditiveScenes/Scripts/PlayerController.cs | 2 +- Assets/Mirror/Examples/Room/Scripts/PlayerController.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs b/Assets/Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs index b3f671671..846efa05f 100644 --- a/Assets/Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs +++ b/Assets/Mirror/Examples/AdditiveScenes/Scripts/PlayerController.cs @@ -16,7 +16,7 @@ void OnValidate() characterController = GetComponent(); characterController.enabled = false; - GetComponent().isKinematic = false; + GetComponent().isKinematic = true; GetComponent().clientAuthority = true; } diff --git a/Assets/Mirror/Examples/MultipleAdditiveScenes/Scripts/PlayerController.cs b/Assets/Mirror/Examples/MultipleAdditiveScenes/Scripts/PlayerController.cs index 1d4b1b444..410697c66 100644 --- a/Assets/Mirror/Examples/MultipleAdditiveScenes/Scripts/PlayerController.cs +++ b/Assets/Mirror/Examples/MultipleAdditiveScenes/Scripts/PlayerController.cs @@ -17,7 +17,7 @@ void OnValidate() characterController = GetComponent(); characterController.enabled = false; - GetComponent().isKinematic = false; + GetComponent().isKinematic = true; GetComponent().clientAuthority = true; } diff --git a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs b/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs index cfaa4636e..764c20754 100644 --- a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs +++ b/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs @@ -16,7 +16,7 @@ void OnValidate() characterController = GetComponent(); characterController.enabled = false; - GetComponent().isKinematic = false; + GetComponent().isKinematic = true; GetComponent().clientAuthority = true; }