Skip to content

Commit 130160f

Browse files
committed
Update center after world bounds collision
1 parent 2223aeb commit 130160f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/physics/arcade/Body.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,7 @@ var Body = new Class({
12311231
if (wasSet)
12321232
{
12331233
this.blocked.none = false;
1234+
this.updateCenter();
12341235
}
12351236

12361237
return wasSet;

0 commit comments

Comments
 (0)