Docs: Phaser.Physics.Arcade.World#useTree

Static bodies are always kept in an RTree
This commit is contained in:
samme 2020-05-05 15:32:49 -07:00
parent 62f0cf732a
commit b2eb6bfc43

View file

@ -155,8 +155,8 @@ var World = new Class({
this.fps = GetValue(config, 'fps', 60);
/**
* Should Physics use a fixed update time-step (true) or sync to the render fps (false)?.
* False value of this property disables fps and timeScale properties.
* Should Physics use a fixed update time-step (true) or sync to the render fps (false)?.
* False value of this property disables fps and timeScale properties.
*
* @name Phaser.Physics.Arcade.World#fixedStep
* @type {boolean}
@ -326,7 +326,7 @@ var World = new Class({
this.maxEntries = GetValue(config, 'maxEntries', 16);
/**
* Should this Arcade Physics World use an RTree for Dynamic and Static Physics bodies?
* Should this Arcade Physics World use an RTree for Dynamic bodies?
*
* An RTree is a fast way of spatially sorting of all the bodies in the world.
* However, at certain limits, the cost of clearing and inserting the bodies into the