Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Help me rotate an airplane

  1. #1
    Guest

    Help me rotate an airplane

    Hi all!
    I have a problem rotateing a object. I wan't to rotate i airplane in roll, pitch and course. The problem now is that when I wrote 3 separate rotatefunctions the plane flips and jumps when I change between roll, pitch and course. But it rotate nice and smooth when I only rotate it round one axis at the time.

    I hope you understand my problem, and I'm greatful for any answer.

    /Micke
    AerotechTelub, Sweden

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,982

    Re: Help me rotate an airplane

    Hello

    Rotating an object about multiple axes can/will cause problems if you rotate them in the wrong order. I suggest you have a look at the following article, http://www.3dgamedev.com/articles/eulers_are_evil.htm .
    It's a small article about euler angles, why problems occur, and how to solve them. And the author uses a plane for an example.

    Hope that will help some.

    Bob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •