We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95826aa commit 9875318Copy full SHA for 9875318
1 file changed
src/physics/arcade/StaticBody.js
@@ -363,6 +363,30 @@ var StaticBody = new Class({
363
* @since 3.0.0
364
*/
365
this.physicsType = CONST.STATIC_BODY;
366
+
367
+ /**
368
+ * The calculated change in the Body's horizontal position during the current step.
369
+ * For a static body this is always zero.
370
+ *
371
+ * @name Phaser.Physics.Arcade.StaticBody#_dx
372
+ * @type {number}
373
+ * @private
374
+ * @default 0
375
+ * @since 3.10.0
376
+ */
377
+ this._dx = 0;
378
379
380
+ * The calculated change in the Body's vertical position during the current step.
381
382
383
+ * @name Phaser.Physics.Arcade.StaticBody#_dy
384
385
386
387
388
389
+ this._dy = 0;
390
},
391
392
/**
0 commit comments