Search Unity

Engine Pitch and Speed Text Glitch

Discussion in 'Scripting' started by Doomer022, May 18, 2018.

  1. Doomer022

    Doomer022

    Joined:
    May 16, 2018
    Posts:
    73
    I want to connect the car's engine soundsource to my script, so the faster the car travels, the higher the pitch gets. Also the text that prints out my speed is really glitchy, while standing still, its jumping between 0-12 and it has like 15 digits (4.34592648...). How do I do both of these things?