Posted: Fri Feb 01, 2013 3:32 pm Post subject: Wierd values corresponding to the camera's view
While analyzing a game I found four addresses which correspond to the current players camera however they're pretty strange.
Code:
Address #1: -2.84793e-006 (Which angle the player is at (upside down, etc)
Address #2: 0.99999 (X?)
Address #3: 0.00446598 (Y?)
Address #4: 0.000637688 (Z?)
I have no idea in how the game decides the players view from these values. I thought they were radians at first so I tried changing them to different angles based of radians but it was hard to determine if it worked.
For those of you who have coded games, can you help me figure it out or suggest to me some ideas off the top of your head?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum