also change the angle of the camera object using mouse pointer lock
Viewing post in WithThreeJS Extension for GDevelop comments
Previously in my game i had the player as a platformer character with everything set to 0 and everything he collided with was a platform, this made the player shake when going diagonally into an object. A better ad much easier solution (which i am using now) is to just have an event like this
In which "Platforms" is a group of all the objects you want your player to collide with
For the controls use the mouse pointer lock extension and have some events like this
In which the variable sensitivity is set to the sensitivity of the mouse
Then you are going to move the player according to it's angle like this
Let me know if you want help with anything else or didn't understand something
I made a separate scene because the other one has some other stuff that are not very useful. I'll show you everything i have done and it seems to work
All the events :
Player behaviour :
All objects :
The floor is just to see where you are going
Floor behaviour
And this is the game :
https://liluo.io/instant-builds/28a6092d-d702-4f82-b6ce-7cd9d0be9d95
I hope this helps