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, {
velocity: velocity,
lifetime: lifetime,
ignoreForCollisions:false,
gravity: this.randomizeBubbleGravity()
});
@ -162,7 +163,7 @@
position: this.getWandTipPosition(properties),
dimensions: BUBBLE_INITIAL_DIMENSIONS,
collisionsWillMove: false,
ignoreForCollisions: false,
ignoreForCollisions: true,
linearDamping: BUBBLE_LINEAR_DAMPING,
shapeType: "sphere"
});