summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Scarlett <carl.orion.scarlett@gmail.com>2018-09-10 17:20:17 +0800
committerCarl Scarlett <carl.orion.scarlett@gmail.com>2018-09-10 17:20:17 +0800
commit91aa940b4209a510a74a14a6870d3f3249d97bc9 (patch)
tree62bae3d5cefff20fcecf6aee5ddc36fb10e5a117
parentd9a96878f2e9251ca55a60e886559e975cdfdd51 (diff)
added clarification about Input.get_accelerometer only working when project is exported
-rw-r--r--doc/classes/Input.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index 1eb74446c6..a0bb585583 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -46,6 +46,7 @@
</return>
<description>
If the device has an accelerometer, this will return the acceleration. Otherwise, it returns an empty [Vector3].
+ Note this method returns an empty [Vector3] when running from the editor even when your device has an accelerometer. You must export your project to a supported device to read values from the accelerometer.
</description>
</method>
<method name="get_action_strength" qualifiers="const">