Skip to content

Commit d3778bb

Browse files
committed
ArcadeWorldConfig.customUpdate is a new boolean property you can set in the Arcade Physics config object, either in the Scene or in the Game Config. If true the World update will never be called, allowing you to call it yourself from your own component. Close phaserjs#5190
1 parent 5c1b5c4 commit d3778bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/physics/arcade/typedefs/ArcadeWorldConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@
2323
* @property {number} [debugVelocityColor=0x00ff00] - Sets {@link Phaser.Physics.Arcade.World#defaults velocityDebugColor}.
2424
* @property {number} [maxEntries=16] - Sets {@link Phaser.Physics.Arcade.World#maxEntries}.
2525
* @property {boolean} [useTree=true] - Sets {@link Phaser.Physics.Arcade.World#useTree}.
26+
* @property {boolean} [customUpdate=false] - If enabled, you need to call `World.update` yourself.
2627
*/

0 commit comments

Comments
 (0)