View Single Post
06-15-10, 02:36 PM   #7
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by lilsparky View Post
when you say the camera distance doesn't matter, are you talking about the distance of the object to the camera or the distance of the camera from the player? the way the camera works in wow is like a large boom attached to the player. rotating the camera rotates the boom around the player. a greater distance from the player to the camera means the camera "swings" over a larger arc which will most definitely have an impact on your math.
I think you should get the camera offset from the player in X and Y values, and start calculating distances/angles from there, which will then get broken in 3.3.5. So screw camera distance, since you can't do triangulation math on it in 3.3.5 anymore.

I'll experiment tomorrow with resolution and FOV.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote