Forum

Camera rotation problem on mobile device

03 August 2021 14:55
Hi there,

Can someone tell me what does not work in my code?

My scene:
I have an eye camera placed on a cube that is my character.

I would like the left side of the screen to control the translation as the right rotation.

Here is the link to test my application:

Here is the link of my code:

I think the problem is in the setup_rotation() line 347, but I do not see.

I imagine that for top and down rotation I have to do it on the camera while the right and the left rotation on the character.
But in any case, for the moment the character does not makes any rotation …

If anyone knows it would be great.
In the meantime I continue to search.

thanks a lot
 
Please register or log in to leave a reply.