In my space flight simulator, I start a thrust sound when the W key is pressed. It should stop when you stop pressing the key? onAction has a keyPressed/not keyPressed field but onAnalog doesn’t. How do you turn the sound off when you stop pressing the key?
Trigger the sound using an action instead of onAnalog. Both events will fire just as you expect but they are meant for different things.
Okay. Thank you.
Oh and by the way, where is the online tutorial? I used to find something that mirrored the book with chapters and such. Is that offline now or did i just look my bookmarks?
You mean the wiki link at the top of the page?