small adjustments

This commit is contained in:
2024-06-07 16:28:14 +01:00
parent 6b5ee3a8a0
commit 46d9217f7d
4 changed files with 328 additions and 56 deletions

View File

@@ -171,7 +171,7 @@ public class InputController : MonoBehaviour
// keep power above deadzone as we handle that below
power = kDeadzone + (power * (1f-kDeadzone));
// 2 in 5 times we are going to stand still
if (UnityEngine.Random.value < .5f)
if (UnityEngine.Random.value < .4f)
power = 0.001f;
// float direction = UnityEngine.Random.Range(-Mathf.PI/8, Mathf.PI/8);
// float power = UnityEngine.Random.Range(1f, 1f);