cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KeezPIPSlab
Paper Tape
Posts: 2
Registered: ‎05-07-2019
Location: NL
Views: 95
Message 1 of 2

Compass / Magnetometer access in Unity

Hi All,

 

Is it possible to access the Magnetometer / Compass inside the Mirage Solo with Unity ?

 

The standard unity command 

Input.compass.magneticHeading

gives 0 all the time.

 

Thanks,

Keez

 

Highlighted
KeezPIPSlab
Paper Tape
Posts: 2
Registered: ‎05-07-2019
Location: NL
Views: 55
Message 2 of 2

Re: Compass / Magnetometer access in Unity

 It was a mistake on my side. I needed to enable the magnetometer in Unity.

 

 Input.compass.enabled = true;

 

Still I am getting strange readings from the sensor.

I've tested some Android Compass apps on the Mirage Solo and they give odd readings too.

 

My question is therefor:

How is the magnetometer placed inside the Lenovo Mirage Solo ?

 

Thanks,

Keez

 

 

 

Check out current deals!


Shop current deals

Top Kudoed Authors