mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
More docs and quick patch to stop the body.allowRotation messing things up.
This commit is contained in:
@@ -171,7 +171,8 @@ Phaser.Physics.Arcade.Body.prototype = {
|
||||
|
||||
if (this.allowRotation)
|
||||
{
|
||||
this.sprite.angle = this.rotation;
|
||||
// Needs to use rotation delta
|
||||
// this.sprite.angle += this.rotation;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user