make earth grabbable to show parenting

This commit is contained in:
James B. Pollack 2015-12-05 17:32:02 -08:00
parent ade32cbf61
commit 30b32765b9

View file

@ -51,11 +51,11 @@ function createEarth() {
}, },
rotation: Quat.fromPitchYawRollDegrees(0, 90, 0), rotation: Quat.fromPitchYawRollDegrees(0, 90, 0),
collisionsWillMove: false, collisionsWillMove: false,
userData: JSON.stringify({ // userData: JSON.stringify({
grabbableKey: { // grabbableKey: {
grabbable: false // grabbable: false
} // }
}) // })
} }
return Entities.addEntity(earthProperties) return Entities.addEntity(earthProperties)