handle bubble solidity

This commit is contained in:
James B. Pollack 2015-11-18 10:44:24 -08:00
parent de953ce14d
commit d3ee0d4998

View file

@ -113,6 +113,7 @@
Entities.editEntity(this.currentBubble, { Entities.editEntity(this.currentBubble, {
velocity: velocity, velocity: velocity,
lifetime: lifetime, lifetime: lifetime,
ignoreForCollisions:false,
gravity: this.randomizeBubbleGravity() gravity: this.randomizeBubbleGravity()
}); });
@ -162,7 +163,7 @@
position: this.getWandTipPosition(properties), position: this.getWandTipPosition(properties),
dimensions: BUBBLE_INITIAL_DIMENSIONS, dimensions: BUBBLE_INITIAL_DIMENSIONS,
collisionsWillMove: false, collisionsWillMove: false,
ignoreForCollisions: false, ignoreForCollisions: true,
linearDamping: BUBBLE_LINEAR_DAMPING, linearDamping: BUBBLE_LINEAR_DAMPING,
shapeType: "sphere" shapeType: "sphere"
}); });