j9907 Registered User |
Quote
|
2018-05-24 12:25:45 |
|
The sound will play itself once right after you start the scene / test the scene.
|
tim12345 Guest |
Quote
|
2018-05-24 18:24:07 |
|
If you activate the sound only when a key is pressed, that might solve it.
|
j9907 Registered User |
Quote
|
2018-05-25 22:10:52 |
|
That doesn't work, sadly. It's not available. Even then, it would be a bad idea since it'd probably spam the footstep sounds if you held down the keys.
|
tim12345 Guest |
Quote
|
2018-05-25 23:12:10 |
|
hm...seems to work on my computer. maybe you are doing something different.
but you are right, that is a strange bug indeed. i'll examine the code of the .js file a bit later if nobody else does.
|
tim12345 Guest |
Quote
|
2018-05-28 01:10:47 |
|
i have now examined the .js file. This line of code in the beginning struck me as odd...
this.LastPosition = new vector3d(0,0,0);
this will only run once, in the beginning and it didn't seem to make much sense because there really isn't a "last position" of the character when the scene starts up. So if you open up the .js file in a code or text editor, maybe change that line to...
this.LastPosition = null;
and hopefully that will fix the bug.
|
j9907 Registered User |
Quote
|
2018-05-28 04:29:16 |
|
That totally fixed it... Wow. Thanks!
|