mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-28 06:18:46 +02:00
disable collisions for now because of shapetype
This commit is contained in:
parent
30b32765b9
commit
906540272e
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,9 @@ function createEarth() {
|
||||||
z: EARTH_SPHERE_RADIUS
|
z: EARTH_SPHERE_RADIUS
|
||||||
},
|
},
|
||||||
rotation: Quat.fromPitchYawRollDegrees(0, 90, 0),
|
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({
|
// userData: JSON.stringify({
|
||||||
// grabbableKey: {
|
// grabbableKey: {
|
||||||
// grabbable: false
|
// grabbable: false
|
||||||
|
@ -119,6 +121,7 @@ function createQuakeMarker(earthquake) {
|
||||||
parentID:earth,
|
parentID:earth,
|
||||||
dimensions: QUAKE_MARKER_DIMENSIONS,
|
dimensions: QUAKE_MARKER_DIMENSIONS,
|
||||||
position: getQuakePosition(earthquake),
|
position: getQuakePosition(earthquake),
|
||||||
|
ignoreForCollisions:true,
|
||||||
lifetime: 6000,
|
lifetime: 6000,
|
||||||
color: getQuakeMarkerColor(earthquake)
|
color: getQuakeMarkerColor(earthquake)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue