mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
change shapeType to use strings in billiards.js
This commit is contained in:
parent
456acd8833
commit
f2fc781523
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ function makeBalls(pos) {
|
||||||
gravity: { x: 0, y: GRAVITY, z: 0 },
|
gravity: { x: 0, y: GRAVITY, z: 0 },
|
||||||
ignoreCollisions: false,
|
ignoreCollisions: false,
|
||||||
damping: 0.50,
|
damping: 0.50,
|
||||||
shapeType: 2,
|
shapeType: "sphere",
|
||||||
collisionsWillMove: true }));
|
collisionsWillMove: true }));
|
||||||
ballPosition.z += (BALL_SIZE + BALL_GAP) * SCALE;
|
ballPosition.z += (BALL_SIZE + BALL_GAP) * SCALE;
|
||||||
ballNumber++;
|
ballNumber++;
|
||||||
|
@ -143,7 +143,7 @@ function makeBalls(pos) {
|
||||||
velocity: {x: 0, y: 0, z: 0 },
|
velocity: {x: 0, y: 0, z: 0 },
|
||||||
ignoreCollisions: false,
|
ignoreCollisions: false,
|
||||||
damping: 0.50,
|
damping: 0.50,
|
||||||
shapeType: 2,
|
shapeType: "sphere",
|
||||||
collisionsWillMove: true });
|
collisionsWillMove: true });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue