disable collisions for now because of shapetype

This commit is contained in:
James B. Pollack 2015-12-05 17:39:43 -08:00
parent 30b32765b9
commit 906540272e

View file

@ -50,7 +50,9 @@ function createEarth() {
z: EARTH_SPHERE_RADIUS
},
rotation: Quat.fromPitchYawRollDegrees(0, 90, 0),
collisionsWillMove: false,
// collisionsWillMove: true,
//if you have a shapetype it blocks the smaller markers
// shapeType:'sphere'
// userData: JSON.stringify({
// grabbableKey: {
// grabbable: false
@ -119,6 +121,7 @@ function createQuakeMarker(earthquake) {
parentID:earth,
dimensions: QUAKE_MARKER_DIMENSIONS,
position: getQuakePosition(earthquake),
ignoreForCollisions:true,
lifetime: 6000,
color: getQuakeMarkerColor(earthquake)
}