add boilerplate for mounts and fixtures
This commit is contained in:
parent
0ea163dfb7
commit
0a90b6b77a
15 changed files with 158 additions and 17 deletions
|
@ -124,7 +124,7 @@ class World {
|
|||
}
|
||||
|
||||
removeBody(body) {
|
||||
this.physics.remove(body);
|
||||
body.destruct();
|
||||
this.bodies.delete(body);
|
||||
this.ships.delete(body);
|
||||
this.structures.delete(body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue