Original Post
Allright. I have the player vector, i have the view vector. and now i created a vector that i always behind the player eaven thought you rotate the view. (FPS Game). I have two vectors as a wall lets call them A and B, if the players view vector+A+B has an area that is less then 10, then you hit the wall, but the vector that is behind you has an area that is bigger so you can still move back, but not front. This is really working, but now i need a vector on my left and one on my right that rotates with my view vector, i dont know how to calculate this. how do i code so the vectors around me also rotates when i turn around in my 3d world? please tell me if my question is not well formed, ill try to explain it better. (im from sweden, my english is very bad). How do i upload an image? i have put my problem on a gif image...
