Browse Source

updated treadmill log

main
Cailean Finn 9 months ago
parent
commit
70a3d21dc1
  1. 2
      Assets/7_Scripts/Interactable Items/Treadmill.cs

2
Assets/7_Scripts/Interactable Items/Treadmill.cs

@ -90,8 +90,6 @@ public class Treadmill : MonoBehaviour
m_BeltSpeed += Map(m_CurrentForce, 0, 600, 0, 0.01f);
m_Belt.SetFloat("_Speed", -m_BeltSpeed);
Debug.Log($"{m_BeltSpeed} {m_CurrentForce}");
}
private float Map(float s, float a1, float a2, float b1, float b2)

Loading…
Cancel
Save