mirror of
https://github.com/wassname/phaser.git
synced 2026-08-19 12:30:07 +08:00
Fixing collision issues
This commit is contained in:
@@ -380,11 +380,11 @@ Phaser.Physics.Arcade.prototype = {
|
||||
|
||||
this._result = (this.separateX(body1, body2) || this.separateY(body1, body2));
|
||||
|
||||
if (this._result)
|
||||
{
|
||||
body1.postUpdate();
|
||||
body2.postUpdate();
|
||||
}
|
||||
// if (this._result)
|
||||
// {
|
||||
// body1.postUpdate();
|
||||
// body2.postUpdate();
|
||||
// }
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user