About Store Forum Documentation Contact



Post Reply 
FPS Camera problem.
Author Message
Damian Offline
Member

Post: #1
FPS Camera problem.
I am working on FPS Camera and i have problem. Because i want have object near my camera (pseudo weapon) and i done it like that:
Code:
{
   Matrix m;
   m.setPosDir(Cam.at+Vec(0,0,1), Cam.yaw, Cam.pitch, Cam.roll).scaleOrn(0.9);

   Meshes("obj/item/weapon/blunt/club/0.mesh")->draw(m);
   }

but it didnt work ;(

Cana anyone help? Or any ideas how to make fps camera easier and better?

Thanks.
10-08-2011 08:18 PM
Find all posts by this user Quote this message in a reply
Post Reply