Maybe it is a stupid question, but anyone know if exist some way to get the rotation of the mobile? I mean get the rotation of the device and set the rotation of the player’s camera in game to the mobile rotation.
I researched in Google and the forum and I think it is not possible just with Blueprints, but I am not sure. Am I right?
thanks for the image reference. I tried a lot of ways by using the tilt node, like you suggest.
I could say it is already working, but with some problems. For example, the camera is aiming in one direction, but it shakes a lot. The camera also don’t get correctly the rotation values (I put the mobile on the desk but it is aiming down) I have to aim up to see what is in the horizont. I tried to print the values in the screen but, for some reason, the values always are 0… It seems it is a common problem because I found similar cases in the forum.
I read in a blog that developing a tilt system with Android’s hardware is a headache because there is a lot of them, but not with IOS devices. In home, we have some Android devices and each one of the devices show different rotations of the camera.