From 70ec87ecd26f1f9933a8d6c18454b0034cb9095d Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Thu, 12 May 2016 18:35:23 -0500 Subject: [PATCH] Fix some errors in some rotation functions, also clarify that certain parameters are expressed in radians --- doc/base/classes.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index c83e51f3835..13d599778ea 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -20767,6 +20767,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Set the rotation of the 2D node. @@ -20890,7 +20891,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) - Return the rotation angle needed for the 2d node to point at 'point' position. + Return the rotation angle in radians needed for the 2d node to point at 'point' position. @@ -23578,7 +23579,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) - Direction in degrees at which the particles will be launched, Notice that when the direction is set to 0 the particles will be launched to the negative + Direction in radians at which the particles will be launched, Notice that when the direction is set to 0 the particles will be launched to the negative @@ -23592,7 +23593,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) Velocity at which the particles will orbit around the emitter center - Direction in degrees at which the particles will be attracted + Direction in radians at which the particles will be attracted Strength of the gravitation attraction for each particle @@ -23605,7 +23606,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) Amount of damping for each particle - Initial angle at which each particle will be spawned + Initial angle in radians at which each particle will be spawned Initial size of each particle @@ -27613,21 +27614,21 @@ This method controls whether the position between two cached points is interpola - Returns the polygon texture offset + Returns the polygon texture offset. - Sets the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in degrees and clockwise rotation, meaning that if the texture rotation is set to 45 degrees, the texture will be rotated 45 degrees clockwise along the polygon position plus the texture offset. + Sets the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in radians and clockwise rotation. - Returns the rotation in degrees of the texture polygon + Returns the rotation in radians of the texture polygon.