Thread Rating:
• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 heres a question... how do you??.... relsoft Posting Freak Posts: 3,288 Threads: 167 Joined: Nov 2001 02-19-2004, 11:33 AM Quote:You have two arrays. Both defined as X,Y,Z. One array is for the World, and the other is for the 3D OBJ's within the world. So for my question, lets say that... OBJ(B).X=WorldX(W).X...etc... It's easy to make OBJ(B).X rotate around the World(W).X axis, way out ther in space, but how do you make point World(W).X rotate around the Camera(Player).X axis, as if you were moving around in a room, while calculating in the fact that there is another 3d OBJ that needs a supplementary angle function? This is probably vague as hell... Sorry if I've frustrated anyone! :barf: Make the player.x/y/z the center of the rotation. ie: X=ox-px y=oy-py z=oz-pz rotatehere Add camera here X'=x-cx y'=y-cy z'=z-cx Render here y smiley is 24 bit. Genso's Junkyard: http://rel.betterwebber.com/ TheBigBasicQ Posting Freak Posts: 4,307 Threads: 63 Joined: May 2003 02-19-2004, 01:26 PM I too get a 404 =(. « Next Oldest | Next Newest »

Forum Jump:

Users browsing this thread: 1 Guest(s)