Hey VirtualAce, thanks for your reply.
I see what you're doing there. Looks good.
The thing is, what I did is working for what i wanted because I only want 2D movement around on the ground plane...
Type: Posts; User: sbzenth
Hey VirtualAce, thanks for your reply.
I see what you're doing there. Looks good.
The thing is, what I did is working for what i wanted because I only want 2D movement around on the ground plane...
Figured it out. Here it is for reference if anyone else needs it:
if(key_state['a'] == true) {
float yRotRad = (float) (rad*yaw);
movex -= -moveSpeed * cos(yRotRad);
...
Looking at some other sites, I think i see the problem. I need to create a camera class in order to be able to do this. Does this sound correct?
Hey everyone,
Currently working on a project with a 3d interactive scene of a low poly spaceship model. I have the perspective camera rotating on mouse movement.
My question is this: I am...