mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +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 },
|
||||
ignoreCollisions: false,
|
||||
damping: 0.50,
|
||||
shapeType: 2,
|
||||
shapeType: "sphere",
|
||||
collisionsWillMove: true }));
|
||||
ballPosition.z += (BALL_SIZE + BALL_GAP) * SCALE;
|
||||
ballNumber++;
|
||||
|
@ -143,7 +143,7 @@ function makeBalls(pos) {
|
|||
velocity: {x: 0, y: 0, z: 0 },
|
||||
ignoreCollisions: false,
|
||||
damping: 0.50,
|
||||
shapeType: 2,
|
||||
shapeType: "sphere",
|
||||
collisionsWillMove: true });
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue