mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 06:46:22 +02:00
Fix drumstick script
This commit is contained in:
parent
300708b3a2
commit
1ccd47fd1d
1 changed files with 1 additions and 3 deletions
|
@ -64,9 +64,7 @@ function checkSticks(deltaTime) {
|
|||
if ((palmVelocity.y > 0.0) || (speed < STOP_SPEED)) {
|
||||
state[palm] = 0;
|
||||
|
||||
var options = {
|
||||
position: Controller.getSpatialControlPosition(palm * 2 + 1);
|
||||
}
|
||||
var options = { position: Controller.getSpatialControlPosition(palm * 2 + 1) };
|
||||
|
||||
if (strokeSpeed[palm] > 1.0) { strokeSpeed[palm] = 1.0; }
|
||||
options.volume = strokeSpeed[palm];
|
||||
|
|
Loading…
Reference in a new issue