another toy

This commit is contained in:
James B. Pollack 2015-12-03 11:12:28 -08:00
parent cf5c8c08e2
commit fbca1c9754

View file

@ -47,7 +47,12 @@ function makeBasketball() {
modelURL: basketballURL,
restitution: 1.0,
damping: 0.00001,
shapeType: "sphere"
shapeType: "sphere",
userData: JSON.stringify({
grabbableKey: {
invertSolidWhileHeld: true
}
})
});
originalPosition = position;
}