From 7ffe73bf6eaf0c919abe08d2001319b81555003c Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Tue, 4 Feb 2014 21:14:49 -0800 Subject: [PATCH] added the cannon as voxels --- examples/spaceInvadersExample.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/spaceInvadersExample.js b/examples/spaceInvadersExample.js index cff8aded74..6e21b6be30 100644 --- a/examples/spaceInvadersExample.js +++ b/examples/spaceInvadersExample.js @@ -135,7 +135,9 @@ function initializeMyShip() { damping: 0, radius: shipSize, color: { red: 0, green: 255, blue: 0 }, - //modelURL: myShipModel, + modelURL: "https://s3-us-west-1.amazonaws.com/highfidelity-public/meshes/myCannon16x16.svo", + modelScale: 450, + modelTranslation: { x: -1.3, y: -1.3, z: -1.3 }, lifetime: itemLifetimes }; myShip = Particles.addParticle(myShipProperties);