reduce physics cpu usage
This commit is contained in:
parent
8a059b92d5
commit
8ea6c2d937
10 changed files with 2435 additions and 34 deletions
|
@ -49,7 +49,7 @@ class Body {
|
|||
}
|
||||
|
||||
applyDelta() {
|
||||
this.world.applyDelta(this.packDelta());
|
||||
this.world.applyDelta(this.packDelta(), this.pos);
|
||||
}
|
||||
|
||||
applyForce(x, y, center) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue