the model was different so adjust things

This commit is contained in:
James B. Pollack 2016-03-07 16:38:15 -08:00
parent dfe0575237
commit fbe640e351
4 changed files with 10 additions and 10 deletions

View file

@ -30,9 +30,9 @@ var pingPongGun = Entities.addEntity({
script: scriptURL,
position: center,
dimensions: {
x: 0.08,
y: 0.21,
z: 0.47
x: 0.125,
y: 0.3875,
z: 0.9931
},
dynamic: true,
collisionSoundURL: COLLISION_SOUND_URL,

View file

@ -23,7 +23,7 @@
//if the trigger value goes below this value, reload the gun.
var RELOAD_THRESHOLD = 0.95;
var GUN_TIP_FWD_OFFSET = -0.35;
var GUN_TIP_UP_OFFSET = 0.040;
var GUN_TIP_UP_OFFSET = 0.12;
var GUN_FORCE = 9;
var BALL_RESTITUTION = 0.6;
var BALL_LINEAR_DAMPING = 0.4;

View file

@ -1278,9 +1278,9 @@
},
restitution: 0,
dimensions: {
x: 0.08,
y: 0.21,
z: 0.47
x: 0.125,
y: 0.3875,
z: 0.9931
},
dynamic: true,
collisionSoundURL: COLLISION_SOUND_URL,

View file

@ -1266,9 +1266,9 @@ MasterReset = function() {
},
restitution: 0,
dimensions: {
x: 0.08,
y: 0.21,
z: 0.47
x: 0.125,
y: 0.3875,
z: 0.9931
},
dynamic: true,
collisionSoundURL: COLLISION_SOUND_URL,