So, I came across a problem today. You can use the accelerometer to detect the rotation of a mobile device. But, is there any way to detect movement of the phone. So like in real life when you walk forwards it would move your in-game character forwards. And for backwards your in game character moves backwards. Any idea how to do this?
1 Like
That would basically just be VR but without the headset. Plus, to actually detect translation of the phone instead of orientation, it would mean using the device’s location in-game. Unless Roblox secures a way to get that without having any abuse happen from the developer side, maybe it’s possible? But, again, based on the first sentence, I don’t think there is a way or there will ever be.
3 Likes
Yeah, that’s basically what I’m trying to do. Might request Roblox for it.
1 Like