From 678eb955c74b778ca6aa79be48025faec0b2326b Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Sun, 4 Feb 2024 06:53:35 +0100 Subject: [PATCH] Scaling back some rubmling --- Assets/Scripts/BloodComputeShader.cs | 2 +- Assets/Scripts/Rumbling/RopeRumbling.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/BloodComputeShader.cs b/Assets/Scripts/BloodComputeShader.cs index 7492c31..d4d0946 100644 --- a/Assets/Scripts/BloodComputeShader.cs +++ b/Assets/Scripts/BloodComputeShader.cs @@ -162,7 +162,7 @@ public class BloodComputeShader : MonoBehaviour score += bufferData[0]; float mappedRumble = Convert.ToSingle(bufferData[0]).Remap(0, RumbleAmount, 0, 0.1f); - RumbleManager.StartRumble(-1, 0, mappedRumble, 0.1f); + //RumbleManager.StartRumble(-1, 0, mappedRumble, 0.1f); squeakVolume += 0.1f; diff --git a/Assets/Scripts/Rumbling/RopeRumbling.cs b/Assets/Scripts/Rumbling/RopeRumbling.cs index ad0fa1f..c0115f9 100644 --- a/Assets/Scripts/Rumbling/RopeRumbling.cs +++ b/Assets/Scripts/Rumbling/RopeRumbling.cs @@ -43,6 +43,6 @@ public class RopeRumbling : MonoBehaviour float ropeClamed = Mathf.Max(0, rope.Overshoot); float sensitive_mapped = ropeClamed.Remap(0.2f, 1f, 0f, MaxVibration); float mapped = ropeClamed.Remap(0.9f, 1f, 0f, MaxVibration); - RumbleManager.StartRumble(-1, mapped, sensitive_mapped, 0.1f); + RumbleManager.StartRumble(-1, 0, sensitive_mapped, 0.1f); } }