Question by
artoonie · Feb 03 at 04:25 PM ·
locationgpslocationinfo
Disable updateDistanceInMeters filtering entirely on Input.Location.Start
Unity filters out locations based on updateDistanceInMeters: https://docs.unity3d.com/ScriptReference/LocationService.Start.html
If the device is not moving, Unity will not update lastData
. Is there a way to prevent Unity from filtering out stationary GPS events? I want events as frequently as iOS will provide them. I have tried setting updateDistanceInMeters
to 0 in Start
but to no avail: the position still does not update.
I cannot always assume that a long pause between location events means the user is standing still, but for now, it's my only workaround.
Comment