mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Remove unused triggerHapticPulse in tutorial.js
This commit is contained in:
parent
1ded581895
commit
4a7f88886f
1 changed files with 0 additions and 14 deletions
|
@ -126,20 +126,6 @@ function setControllerPartLayer(part, layer) {
|
|||
Messages.sendLocalMessage('Controller-Set-Part-Layer', JSON.stringify(data));
|
||||
}
|
||||
|
||||
function triggerHapticPulse() {
|
||||
function scheduleHaptics(delay, strength, duration) {
|
||||
Script.setTimeout(function() {
|
||||
Controller.triggerHapticPulse(strength, duration, 0);
|
||||
Controller.triggerHapticPulse(strength, duration, 1);
|
||||
}, delay);
|
||||
}
|
||||
scheduleHaptics(0, 0.8, 100);
|
||||
scheduleHaptics(300, 0.5, 100);
|
||||
scheduleHaptics(600, 0.3, 100);
|
||||
scheduleHaptics(900, 0.2, 100);
|
||||
scheduleHaptics(1200, 0.1, 100);
|
||||
}
|
||||
|
||||
function spawn(entityData, transform, modifyFn) {
|
||||
debug("Creating: ", entityData);
|
||||
if (!transform) {
|
||||
|
|
Loading…
Reference in a new issue