We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c94120 commit a8c4930Copy full SHA for a8c4930
1 file changed
src/physics/p2/Body.js
@@ -1282,6 +1282,7 @@ Phaser.Physics.P2.Body.prototype = {
1282
* @method Phaser.Physics.P2.Body#addPhaserPolygon
1283
* @param {string} key - The key of the Physics Data file as stored in Game.Cache.
1284
* @param {string} object - The key of the object within the Physics data file that you wish to load the shape data from.
1285
+ * @returns {Array} A list of created fixtures to be used with Phaser.Physics.P2.FixtureList
1286
*/
1287
addPhaserPolygon: function (key, object) {
1288
0 commit comments