From 91aa940b4209a510a74a14a6870d3f3249d97bc9 Mon Sep 17 00:00:00 2001 From: Carl Scarlett Date: Mon, 10 Sep 2018 17:20:17 +0800 Subject: [PATCH] added clarification about Input.get_accelerometer only working when project is exported --- doc/classes/Input.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 1eb74446c60..a0bb585583d 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -46,6 +46,7 @@ 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.