diff --git a/examples/gun.js b/examples/gun.js index e9b1472700..c9c0d6d8da 100644 --- a/examples/gun.js +++ b/examples/gun.js @@ -51,7 +51,7 @@ function checkController() { var fingerTipController = palmController + 1; var fingerTipPosition = Controller.getSpatialControlPosition(fingerTipController); - var bulletSize = 0.25/TREE_SCALE; + var bulletSize = 0.05/TREE_SCALE; var palmInParticleSpace = { x: palmPosition.x/TREE_SCALE, @@ -73,7 +73,7 @@ function checkController() { y: tipInParticleSpace.y + palmToFingerTipVector.y/2, z: tipInParticleSpace.z + palmToFingerTipVector.z/2}; - var linearVelocity = 50; // 50 meters per second + var linearVelocity = 5; var velocity = { x: palmToFingerTipVector.x * linearVelocity, y: palmToFingerTipVector.y * linearVelocity,