Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AleziaKurdis authored Sep 15, 2023
1 parent 5c8ea4c commit 0d1f557
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions SANCTUARY/giroscope.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
var properties = Entities.getEntityProperties(thisEntity, ["position", "renderWithZones"]);
giroscopePosition = properties.position;
var rwz = properties.renderWithZones;
print("giroscopePosition: " + JSON.stringify(giroscopePosition));
var antiHue = 0.5 + GetCurrentCycleValue(1, D29_DAY_DURATION * 9);
if (antiHue > 1) {
antiHue = antiHue - 1;
Expand Down Expand Up @@ -147,15 +146,15 @@
"position": giroscopePosition,
"volume": soundVolume,
"loop": soundLoop,
"localOnly": soundLocal,
"pitch": 0.0625
"localOnly": soundLocal//,
//"pitch": 0.0625
});
}
} else {
injector.setOptions({
"position": giroscopePosition,
"volume": soundVolume,
"pitch": 0.0625
"volume": soundVolume//,
//"pitch": 0.0625
});
}
}, refreshInterval);
Expand Down

0 comments on commit 0d1f557

Please sign in to comment.