Archived

This topic is now archived and is closed to further replies.

Lesson 10, Maze Navigation

This topic is 5180 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am having trouble with the navigation through the maze in Lesson 10. I understand the rotation part, but am confused when it comes to the forward and backwards movement, or the translation part. Could someone explain the code inside the ''if (keys[VK_UP])'' and DOWN statement. Not so much the head bob, more just the core translation. What the hell is the ''heading'' variable? Where did that come from? I am close, just need a little better explanation. Thanks!

Share this post


Link to post
Share on other sites
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=10,

sorry! i got to the messageboard through nehe productions, thought it was a board for just the site. im a moron. anyone still want to help?

Share this post


Link to post
Share on other sites
All the translate does is move the "level" around you...

Your really stationary. Say you hit forward, it just moves the quads towards your back.

persionally I don''t like that method of movement. The best is a camera class that will move via the glLookat.

There is a camera tutorial on the main page, aswell as at www.gametutorials.com

Share this post


Link to post
Share on other sites