Hi again.
Im improoving my character movement.
Character is moving 4m in fixed movement and rotating 90ยบ everytime you rotate.
It works perfectly using the keys.
Now Im trying to rotate the character also by moving the camera towards the edges of the screen (i have a tolerance to not to be too intrusive) so the character and the camera will auto rotate and player will be looking again to the center (0.0.0 self)
It works pretty well, but I have annoying behaviour that I cant fix.
I think its related to the mouselook script that the camera has attached.
I can reproduce the bug if I move the mouse while the "auto movement" is taking place. During the movement, "mouselook" is deactivated and I also control that no keys can be pressed, when movement is ended, "moselook" is again activated.
I could be sure if i can totally "disconect" the mouse imput while the movement is happening. Dont know.
In sec 10 you can clearly see what happens, also on 30.
Video Link:
https://youtu.be/ySxyfy1pkcgAlso, the scene doesn work when I build it (i cant rotate at all) so something must be wrong...
Any Idea?
Thanks!