mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +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
|
||||
},
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue