diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-28 06:59:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 06:59:25 +0100 |
commit | bfd40ba46f3122aeb72609d4896c5399ccad71a1 (patch) | |
tree | d54c3b08e451dd3de9793861cf43b7836a6835f7 /doc/classes/ProjectSettings.xml | |
parent | a596d7615692e09f12ba2b3709eebba494af7102 (diff) | |
parent | b89a37269b1d8f201604ea56d31e6c9fa3a26ce6 (diff) |
Merge pull request #36618 from Calinou/doc-improve-fixed-physics
Improve documentation related to fixed physics processing
Diffstat (limited to 'doc/classes/ProjectSettings.xml')
-rw-r--r-- | doc/classes/ProjectSettings.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 236931f877..679a462d65 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -968,10 +968,12 @@ Enables [member Viewport.physics_object_picking] on the root viewport. </member> <member name="physics/common/physics_fps" type="int" setter="" getter="" default="60"> - Frames per second used in the physics. Physics always needs a fixed amount of frames per second. + The number of fixed iterations per second. This controls how often physics simulation and [method Node._physics_process] methods are run. + [b]Note:[/b] This property is only read when the project starts. To change the physics FPS at runtime, set [member Engine.iterations_per_second] instead. </member> <member name="physics/common/physics_jitter_fix" type="float" setter="" getter="" default="0.5"> Fix to improve physics jitter, specially on monitors where refresh rate is different than the physics FPS. + [b]Note:[/b] This property is only read when the project starts. To change the physics FPS at runtime, set [member Engine.physics_jitter_fix] instead. </member> <member name="rendering/environment/default_clear_color" type="Color" setter="" getter="" default="Color( 0.3, 0.3, 0.3, 1 )"> Default background clear color. Overridable per [Viewport] using its [Environment]. See [member Environment.background_mode] and [member Environment.background_color] in particular. To change this default color programmatically, use [method VisualServer.set_default_clear_color]. |