mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed skateboard and mesh positioning
This commit is contained in:
parent
7220e3b388
commit
bdab2a5760
9 changed files with 83 additions and 45 deletions
|
|
@ -43,7 +43,6 @@ define([
|
|||
for (var i = 0; i < tiles.length; i++) {
|
||||
var options = tiles[i];
|
||||
options.m = this.tileAtPositionExists(options.x, options.y - 1) ? "Soil" : "GrassSoil";
|
||||
|
||||
this.gameObjects.fixed.push(new Tile(this.engine, "tile-" + i, options));
|
||||
}
|
||||
}
|
||||
|
|
@ -118,7 +117,7 @@ define([
|
|||
// o o o
|
||||
// o o o
|
||||
|
||||
this.levelObject = {
|
||||
this.levelObject = this.levelObject || {
|
||||
/*
|
||||
Material densities (g/cm^3):
|
||||
|
||||
|
|
@ -277,6 +276,7 @@ microwave: 3.744
|
|||
*/
|
||||
|
||||
[
|
||||
{s:1, x:0, y:0, r:0},
|
||||
{s:1, x:1, y:1, r:0},
|
||||
{s:1, x:3, y:18},
|
||||
{s:1, x:37, y:27},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue