Skip to content

Commit 7d56087

Browse files
committed
Global 'remove' call which is passed on to the world
1 parent b2ca8e1 commit 7d56087

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/scene/plugins/PhysicsManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ var PhysicsManager = new Class({
6262
}
6363
},
6464

65+
remove: function (object)
66+
{
67+
this.world.remove(object);
68+
},
69+
6570
update: function (time, delta)
6671
{
6772
this.world.update(time, delta);

0 commit comments

Comments
 (0)