We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a312d03 commit 7d5673aCopy full SHA for 7d5673a
1 file changed
src/physics/arcade/Body.js
@@ -33,8 +33,8 @@ var Body = new Class({
33
34
function Body (world, gameObject)
35
{
36
- var width = (gameObject.width) ? gameObject.width : 64;
37
- var height = (gameObject.height) ? gameObject.height : 64;
+ var width = (gameObject.displayWidth) ? gameObject.displayWidth : 64;
+ var height = (gameObject.displayHeight) ? gameObject.displayHeight : 64;
38
39
/**
40
* The Arcade Physics simulation this Body belongs to.
0 commit comments