mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 02:53:43 +02:00
Merge pull request #6524 from ericrius1/toyboxSounds
Removed collision sound for bow and lowered restitution on flashlight and spraycan to avoid multiple bounce sounds
This commit is contained in:
commit
1d57f4daa8
2 changed files with 4 additions and 2 deletions
|
@ -241,7 +241,6 @@
|
|||
gravity: BOW_GRAVITY,
|
||||
shapeType: 'compound',
|
||||
compoundShapeURL: COLLISION_HULL_URL,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/bow_fall.L.wav",
|
||||
script: bowScriptURL,
|
||||
userData: JSON.stringify({
|
||||
resetMe: {
|
||||
|
@ -656,6 +655,7 @@
|
|||
y: -3.5,
|
||||
z: 0
|
||||
},
|
||||
restitution: 0,
|
||||
velocity: {
|
||||
x: 0,
|
||||
y: -0.01,
|
||||
|
@ -1189,6 +1189,7 @@
|
|||
collisionsWillMove: true,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/SpryPntCnDrp1.L.wav",
|
||||
shapeType: 'box',
|
||||
restitution: 0,
|
||||
gravity: {
|
||||
x: 0,
|
||||
y: -3.0,
|
||||
|
|
|
@ -220,7 +220,6 @@ MasterReset = function() {
|
|||
gravity: BOW_GRAVITY,
|
||||
shapeType: 'compound',
|
||||
compoundShapeURL: COLLISION_HULL_URL,
|
||||
collisionSoundURL: "http://hifi-public.s3.amazonaws.com/sounds/bow_fall.L.wav",
|
||||
script: bowScriptURL,
|
||||
userData: JSON.stringify({
|
||||
resetMe: {
|
||||
|
@ -636,6 +635,7 @@ MasterReset = function() {
|
|||
y: -3.5,
|
||||
z: 0
|
||||
},
|
||||
restitution: 0,
|
||||
velocity: {
|
||||
x: 0,
|
||||
y: -0.01,
|
||||
|
@ -1174,6 +1174,7 @@ MasterReset = function() {
|
|||
y: -3.0,
|
||||
z: 0
|
||||
},
|
||||
restitution: 0,
|
||||
velocity: {
|
||||
x: 0,
|
||||
y: -1,
|
||||
|
|
Loading…
Reference in a new issue