So I made this playground:
I am using
camera.getDirection to get basically a velocity vector to move the player in.
Now, this works kinda all right expect when you are looking down and up.
Is there a way to get the direction and have it only apply to a flat XZ plane?
There might be something I am missing or just something I don’t know.
Any advice would be very helpful.
I’ve been working on developing a better player demo for the voxel engine:
And it is coming along great this is just something that I would like to figure out.