From ecad7f34f6afd1417e2f2a10863c90a47ded3821 Mon Sep 17 00:00:00 2001 From: James Pollack Date: Wed, 30 Sep 2015 10:58:21 -0700 Subject: [PATCH] moar --- examples/toys/ping_pong_gun/pingPongGun.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/toys/ping_pong_gun/pingPongGun.js b/examples/toys/ping_pong_gun/pingPongGun.js index 415b62c71e..c3d10e7198 100644 --- a/examples/toys/ping_pong_gun/pingPongGun.js +++ b/examples/toys/ping_pong_gun/pingPongGun.js @@ -86,21 +86,20 @@ }, shootBall: function(gunProperties, triggerValue) { - print('SHOOT BALL'); var forwardVec = Quat.getFront(Quat.multiply(gunProperties.rotation, Quat.fromPitchYawRollDegrees(0, 90, 0))); - forwardVec = Vec3.normalize(forwardVec); + // forwardVec = Vec3.normalize(forwardVec); var properties = { type: 'Sphere', color: { - red: 0, - green: 0, + red: 255, + green: 255, blue: 255 }, dimensions: { - x: 0.04, - y: 0.04, - z: 0.04 + x: 0.02, + y: 0.02, + z: 0.02 }, linearDamping: 0.2, gravity: {