edited July 2015 in Makinom Support
so the terrain fork i have set up on my player to get the position its on this is all done in a tick i have some sounds playing to tell me that its working but seems that it will work for a bit then the sounds will start to stutter not sure f this is a play sound node issue or the new terrain fork node issue basically the set up is like so i got a horizontal check for speed so if speed is greater than 1 it till go to the terrain fork if not itll stop any sounds... now off success itll go to the terrain fork which i got about 5 splat maps set up to check an then it will play a different sound per item i got all my play sounds set up to do a one shot with volume set to 1 works great at start then after walking on certain parts of the terrain itll start to mess up an start to stutter the sounds like there starting over an over... not sure if its cause of the tick or what but if i got play one shot set it should play the one shot before starting over like it does when i first hit play
Post edited by wtyson on
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Wouldn't that setup play the sound pretty much each frame? No wonder it starts stuttering at some point :)

    Either work with a timeout (setting a float variable to current time + offset and check if the current time is a higher than the variable before doing the whole terrain+sound thing), or use an animation mation with an animation event start type (adding the animation event to your run animation).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • edited July 2015
    i dont have a run animation for the fps controller :P yeah i see your point there ill add a small wait an see if i can fix it that way it would still need to be in a tick due to the check for the texture but ill add a small wait to see if that fixes the issue
    Post edited by wtyson on
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
Sign In or Register to comment.