From 9a276f05820ab22d2f18b9a3c23b46cd69ec2451 Mon Sep 17 00:00:00 2001 From: Krystof Date: Mon, 18 Sep 2023 19:41:11 +0200 Subject: [PATCH] [Net Players] disable hover goal --- .../Scripts/Networking~/Player/SampleNetworkedPlayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Runtime/Networking/Scripts/Networking~/Player/SampleNetworkedPlayer.ts b/package/Runtime/Networking/Scripts/Networking~/Player/SampleNetworkedPlayer.ts index 408e3d73f..65f3ec841 100644 --- a/package/Runtime/Networking/Scripts/Networking~/Player/SampleNetworkedPlayer.ts +++ b/package/Runtime/Networking/Scripts/Networking~/Player/SampleNetworkedPlayer.ts @@ -75,7 +75,7 @@ export class SampleNetworkedPlayer extends Behaviour { else this.gameObject.translateOnAxis(vecToGoal.normalize(), distanceToTravel); - const reactOnHover = input.getIsMouse(0); + const reactOnHover = false; //input.getPointerPositionDelta(0)!.length() > 1; // save pointer position on pointer down if(input.getPointerDown(0)) {