From 3baa992bc3b17c1615f38a9e855d0fb2a11d578c Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Thu, 25 Sep 2014 18:56:37 -0700 Subject: [PATCH] Fixed radio model --- examples/radio.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/radio.js b/examples/radio.js index c7a6fdcc97..575d9d70c8 100644 --- a/examples/radio.js +++ b/examples/radio.js @@ -10,7 +10,7 @@ // -var modelURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/models/entities/radio/Speakers2_DeletedPlanes.fbx"; +var modelURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/models/entities/radio/Speakers.fbx"; var soundURL = "https://s3-us-west-1.amazonaws.com/highfidelity-public/sounds/FamilyStereo.raw"; var AudioRotationOffset = Quat.fromPitchYawRollDegrees(0, -90, 0); @@ -31,14 +31,16 @@ function update() { print("Sound file downloaded"); var position = Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, - { x: 0, y: 0.3, z: -1 })); + { x: 0, y: -0.3, z: -2 })); var rotation = Quat.multiply(MyAvatar.orientation, Quat.fromPitchYawRollDegrees(0, -90, 0)); entity = Entities.addEntity({ type: "Model", position: position, rotation: rotation, - dimensions: { x: 0.2, y: 0.2, z: 0.2 }, + dimensions: { x: 0.391, + y: 1.000, + z: 1.701 }, modelURL: modelURL }); properties = Entities.getEntityProperties(entity);