mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Major progress on Planck.js migration - server starts without crashing
This commit is contained in:
parent
74957807e2
commit
875abd60d9
7 changed files with 64 additions and 54 deletions
|
|
@ -60,8 +60,8 @@ function (Parent, Settings, nc, Layer) {
|
|||
this.layerId,
|
||||
this.mesh,
|
||||
{
|
||||
x: this.body.GetPosition().x * Settings.RATIO,
|
||||
y: this.body.GetPosition().y * Settings.RATIO
|
||||
x: this.body.getPosition().x * Settings.RATIO,
|
||||
y: this.body.getPosition().y * Settings.RATIO
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue