Advertisement

11.22.2008 at 06:13PM PST, ID: 23928409 | Points: 500
[x]
Attachment Details

Make Orbit Camera (3d game)

Asked by Chumad in Game Programming, 3D Game Programming, 3D Graphics Software

Tags:

I'm making a 3d game.

I've got a star and I want my camera to orbit the star when the user moves the mouse. This is a pretty standard feature for many 3d games and other 3d programs (think 3d studio max or another modeler that allows the user to rotate the view around an object).

What I know is this:
- Start X,Y when the mouse started to move
- End X,Y where the mouse is at 'now'
- The diff between the two

I've got a camera at some XYZ coordinate looking at the object - what I need help with is calculating where the camera should move based on the XY of the mouse movement.

Anyone?Start Free Trial
[+][-]11.22.2008 at 09:53PM PST, ID: 23023823

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.23.2008 at 06:05AM PST, ID: 23024794

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.25.2008 at 04:58AM PST, ID: 23034082

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.25.2008 at 02:03PM PST, ID: 23038093

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.25.2008 at 03:32PM PST, ID: 23038582

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.25.2008 at 03:41PM PST, ID: 23038613

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.26.2008 at 01:24AM PST, ID: 23040583

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081119-EE-VQP-49 - Hierarchy / EE_QW_2_20070628