   Re: Problems with rotations
  Can Someone help me, I am making a 3D asteroids game for my school and i am having a problem with the rotations. I have it rotating, but I need to know how to make the posistion of the ship the origin instead of (0,0,0) being the origin. I ask this because the farther I get from the origin the faster I rotate and the harder it is to control. So if anybody could please help.   Laguna!!! 
  i suppose you could just take the ships location x, y and translate it to the origin with -x, -y, rotate, then translate it back ;  I think it's the order you're doing them: translation and rotation. You know that there is a difference, don't you? I suppose in your case would be the reverse order (from the one existing)Regards,B100dian   When all else fails, RTFM!   [edited by - b100dian on February 18, 2004 5:08:09 PM];  I feel like I know what''s wrong, but you need to post the code where this rotation takes place... there are a lot of different things that could be the problem when a linear transformation doesn''t go as planned.(my guess is that you''re concatenating the new rotation in the wrong place, rotating the ship''s entire transformation by what you mean to be its local rotation). ;  Hey Guys! I got it to work, with your suggestions!! Thanks for the help! I''ll be sure to put you guys in the credits for help!! Thanks a million! 