From 6e5cd36b12b535f31a2b453c39723a77adc182ed Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Mon, 24 Feb 2020 18:37:46 +0300 Subject: Minor fix in Node class documentation The name of the property responsible for physics fps is fixed: this is `Engine.iterations_per_second`, not `Engine.target_fps`. --- doc/classes/Node.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 3ddc3af200..dae99f1c3a 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -326,7 +326,7 @@ - Returns the time elapsed since the last physics-bound frame (see [method _physics_process]). This is always a constant value in physics processing unless the frames per second is changed via [member Engine.target_fps]. + Returns the time elapsed since the last physics-bound frame (see [method _physics_process]). This is always a constant value in physics processing unless the frames per second is changed via [member Engine.iterations_per_second]. @@ -745,7 +745,7 @@ - Enables or disables physics (i.e. fixed framerate) processing. When a node is being processed, it will receive a [constant NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine.target_fps] to change) interval (and the [method _physics_process] callback will be called if exists). Enabled automatically if [method _physics_process] is overridden. Any calls to this before [method _ready] will be ignored. + Enables or disables physics (i.e. fixed framerate) processing. When a node is being processed, it will receive a [constant NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine.iterations_per_second] to change) interval (and the [method _physics_process] callback will be called if exists). Enabled automatically if [method _physics_process] is overridden. Any calls to this before [method _ready] will be ignored. -- cgit v1.2.3