From de953ce14d4da3bbad14e151b1e5317456c62edb Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Wed, 18 Nov 2015 10:41:53 -0800 Subject: [PATCH] better spatialkey --- examples/toybox/bubblewand/createWand.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/toybox/bubblewand/createWand.js b/examples/toybox/bubblewand/createWand.js index a0e6ce5918..faea908c81 100644 --- a/examples/toybox/bubblewand/createWand.js +++ b/examples/toybox/bubblewand/createWand.js @@ -12,8 +12,8 @@ Script.include("../../libraries/utils.js"); -var WAND_MODEL = 'http://hifi-public.s3.amazonaws.com/models/bubblewand/wand.fbx'; -var WAND_COLLISION_SHAPE = 'http://hifi-public.s3.amazonaws.com/models/bubblewand/actual_no_top_collision_hull.obj'; +var WAND_MODEL = 'http://hifi-content.s3.amazonaws.com/james/bubblewand/wand.fbx'; +var WAND_COLLISION_SHAPE = 'http://hifi-content.s3.amazonaws.com/james/bubblewand/wand_collision_hull.obj'; var WAND_SCRIPT_URL = Script.resolvePath("wand.js"); @@ -48,8 +48,8 @@ var wand = Entities.addEntity({ grabbableKey:{ invertSolidWhileHeld:true, spatialKey:{ - relativePosition:{x:0,y:1,z:0}, - relativeRotation:Quat.fromPitchYawRollDegrees(0,90,0) + relativePosition:{x:0,y:0.1,z:0}, + relativeRotation:Quat.fromPitchYawRollDegrees(0,0,90) } } })