Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6869041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:30:32+00:00 2026-05-27T03:30:32+00:00

If i make a quaternion which represents for example a players direction and the

  • 0

If i make a quaternion which represents for example a players direction and the angle around this rotation. So for the application I intend to make a plane flying. The quaternion would represent the players direction and the angle around this direction.

Then my question is how do I rotate the object in the program do I convert the players quaternion to a matrix then glMultMatrix this with this?

If this is all good can someone post if my theory is correct and if not post me a source material to read or some good theory for what I should do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:30:33+00:00Added an answer on May 27, 2026 at 3:30 am

    I hope I understand the question correctly.

    a quaternion which represents for example a players direction and the angle around this rotation

    Yes, an unit-length quaternion represents an orientation, which can be interpreted as an axis-angle pair. It’s simple to make a quaternion from axis-angle.

    how do I rotate the object in the program do I convert the players quaternion to a matrix then glMultMatrix this with this?

    That’s one way to do it, yes.

    This is a good resource on the mathematics behind (both the explanation and equations):

    http://content.gpwiki.org/index.php/OpenGL:Tutorials:Using_Quaternions_to_represent_rotation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I make this call in my application.js file but it doesn't seem to return
(Make this CW if needed) We are two developers working on a web application
To make it short: hibernate doesn't support projections and query by example? I found
I make a j2me application that almost all of it, are text files. size:
I make a web application to upload a tsv file JDK -> 1.4 Struts
I make a distributed embedded application that will make use of several micro-controllers. The
I make this async webrequest call mutliple times(can be twice or thrice or even
To make div s clickable I use this: $(.clickable).click(function (event) { window.location = $(this).find('a').attr('href');
With make on linux, we can do things like: foo=$(shell /bin/bar) which runs the
To make my application multilingual I'm wondering if there are big advantages to GNU's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.