summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJamil Halabi <jay3dlinux@gmail.com>2016-07-15 15:31:34 +0800
committerJamil Halabi <jay3dlinux@gmail.com>2016-07-16 01:43:32 +0800
commit370ae3512deda40b2659a1192f302298e269305f (patch)
treea1850f46fa1817be65981177326417fbdb33f5b0 /doc
parent4c4ab140b4569f2700517a13b20127eb7542b3ec (diff)
Added gyroscope support to Godot and Android
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 50d550f6b2..890b617aa2 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -15797,6 +15797,13 @@
Returns an [Array] containing the device IDs of all currently connected joysticks.
</description>
</method>
+ <method name="get_gyroscope">
+ <return type="Vector3">
+ </return>
+ <description>
+ If the device has a gyroscope, this will return the rate of rotation in rad/s around a device's x, y, and z axis.
+ </description>
+ </method>
<method name="get_joy_axis">
<return type="float">
</return>