In current Wikitude SDK 3.0 there is no JS api to pass compass /accelerometer values, but you can implement this feature by your own if you need it in your project.
Implement sensor listener in your native/cordova/titanium environment
use "callJavaScript" to pass sensor values in >1 second intervals, e.g. architectView.callJavaScript("compassValueUpdated(" + value + ");")
handle value in your ARchitect World
Note: JavaScript is single Threaded, small update-intervalls may drain experience
Kind regards, Andreas
E
ETIENNE Vincent
said
over 10 years ago
Hello, Is there a way to get live sensor/accelerometers informations in the worldpage?
ETIENNE Vincent