Hi
I am trying to create an external esp hack for assault cube.
The problem I have is that I cant figure out how to convert world to screen coordinates. I know there is a function called D3DXVec3Project but this function requires a projection, view and world matrix and I dont have any of these (I just have the matrices from the device of my layered window where I do drawing action and I dont think that they are the right ones for this function).
The things I got are the X, Y and Z coordinates of an enemy and the X, Y viewangle of the player and of course the dimensions of the window. Are these information enough to convert the coordinates or do I need to get more information?
I am trying to create an external esp hack for assault cube.
The problem I have is that I cant figure out how to convert world to screen coordinates. I know there is a function called D3DXVec3Project but this function requires a projection, view and world matrix and I dont have any of these (I just have the matrices from the device of my layered window where I do drawing action and I dont think that they are the right ones for this function).
The things I got are the X, Y and Z coordinates of an enemy and the X, Y viewangle of the player and of course the dimensions of the window. Are these information enough to convert the coordinates or do I need to get more information?