mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:42:58 +02:00
handle bubble solidity
This commit is contained in:
parent
de953ce14d
commit
d3ee0d4998
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue