Dear friends, I want to develop a method to calculate position and vector of the pad pointer in a 3D world. For this 3D world I am using the GX library. In this 3D world the user is able to move in any direction (translation and rotation). I already know the position and direction of user. But I do not know how to get the pad pointer position. What I want to do is a shooter. This is thby Paipum - Coding
I'm coding a function to getting the coordinates of wii mote pointer in a 3D environment. I'm not sure if the code is correct or wrong because x,y coord are between -1 and 1. The code seems of gluUnProject from opengl. Someone can help me??? int Engine::unProject(float winx, float winy, float winz, Mtx44 projection, guVector *position) { guQuaternion in; guQuaternioby Paipum - Coding