From 906540272ec77dfa1cb96ae46cff1d6de8004242 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 5 Dec 2015 17:39:43 -0800 Subject: [PATCH] disable collisions for now because of shapetype --- examples/data_visualization/earthquakes_live.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/data_visualization/earthquakes_live.js b/examples/data_visualization/earthquakes_live.js index 579c981b2d..3498885ff6 100644 --- a/examples/data_visualization/earthquakes_live.js +++ b/examples/data_visualization/earthquakes_live.js @@ -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) }