We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc09986 commit edeb63eCopy full SHA for edeb63e
1 file changed
src/physics/matter-js/MatterGameObject.js
@@ -61,7 +61,7 @@ var MatterGameObject = new Class({
61
62
this.world = world;
63
64
- this._tempVec2 = new Vector2(x, y);
+ this._tempVec2 = new Vector2(gameObject.x, gameObject.y);
65
66
var shape = GetFastValue(options, 'shape', null);
67
0 commit comments