diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-09-10 13:42:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 13:42:31 +0200 |
commit | 8a8a5e6c078070569c44eb8ec3b52c234b8fb8ce (patch) | |
tree | df2aa6ab5240c9b4b485da9abfb807b81f26f6c8 | |
parent | 32cc267906dca8281ebcb1c06b9055668082bd4a (diff) | |
parent | 91aa940b4209a510a74a14a6870d3f3249d97bc9 (diff) |
Merge pull request #21925 from ZodmanPerth/master
Clarification about Input.get_accelerometer() usage
-rw-r--r-- | doc/classes/Input.xml | 1 |
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"> |