mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 21:02:44 +02:00
Increase drop tool haptic pulse and decress hover haptic pulses
This commit is contained in:
parent
c7461a9646
commit
5408daea73
1 changed files with 4 additions and 4 deletions
|
@ -30,16 +30,16 @@ Feedback = (function () {
|
|||
SELECT_ENTITY: { sound: SELECT_SOUND, volume: 0.2, haptic: 0.1 }, // E.g., Group tool.
|
||||
CLONE_ENTITY: { sound: CLONE_SOUND, volume: 0.2, haptic: 0.1 },
|
||||
CREATE_ENTITY: { sound: CREATE_SOUND, volume: 0.2, haptic: 0.2 },
|
||||
HOVER_MENU_ITEM: { sound: null, volume: 0, haptic: 0.2 }, // Tools menu.
|
||||
HOVER_BUTTON: { sound: null, volume: 0, haptic: 0.1 }, // Tools options and Create palette items.
|
||||
HOVER_MENU_ITEM: { sound: null, volume: 0, haptic: 0.09 }, // Tools menu.
|
||||
HOVER_BUTTON: { sound: null, volume: 0, haptic: 0.06 }, // Tools options and Create palette items.
|
||||
EQUIP_TOOL: { sound: EQUIP_SOUND, volume: 0.5, haptic: 0.6 },
|
||||
APPLY_PROPERTY: { sound: null, volume: 0, haptic: 0.3 },
|
||||
APPLY_ERROR: { sound: ERROR_SOUND, volume: 0.2, haptic: 0.7 }
|
||||
},
|
||||
|
||||
VOLUME_MULTPLIER = 0.5, // Resulting volume range should be within 0.0 - 1.0.
|
||||
HAPTIC_STRENGTH_MULTIPLIER = 2.0, // Resulting strength range should be within 0.0 - 1.0.
|
||||
HAPTIC_LENGTH_MULTIPLIER = 50.0; // Resulting length range should be within 0 - 50, say.
|
||||
HAPTIC_STRENGTH_MULTIPLIER = 1.3, // Resulting strength range should be within 0.0 - 1.0.
|
||||
HAPTIC_LENGTH_MULTIPLIER = 75.0; // Resulting length range should be within 0 - 50, say.
|
||||
|
||||
function play(side, item) {
|
||||
var parameters = FEEDBACK_PARAMETERS[item];
|
||||
|
|
Loading…
Reference in a new issue