Quantcast
Channel: Questions in topic: "footsteps"
Viewing all articles
Browse latest Browse all 164

Footsteps Problem

$
0
0
Hello , i want to add footsteps sound to player public float walkSpeed = 6.0f; public float runSpeed = 10.0f; public AudioClip[] dirt ; void Update () { if (!grounded && walkSpeed > 4) { audio.clip = dirt[Random.Range(0, dirt.Length)]; audio.Play(); } but sound only playing when i jump it's not playing while im moving any help would be great.

Viewing all articles
Browse latest Browse all 164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>