Jump to content
  • Advertisement
Sign in to follow this  

driving turn

This topic is 3165 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

Hello! I've made a car in *.obj files and got them loaded. Car is going straight forward and backwards by
 void SpecialKeyboardFunc (int key, int x, int y) {
	          radrot = (radrot + 15) % 360;
	          carx= carx+5;
    //& handing over the params "radrot" and "carx" to glTranslate and glRotate
Now I have the probleme with driving a nice turn? :( I already created some steering-angle:
          lenkung PLUS= 1;    
           if (lenkung > 35) lenkung =34;

I'd like to setup the steer angle before driving the turn. -> Setup angle -> [Press UP for forward] -> now drive a nice turn. I thank you in advance for every help! ---Tommy

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!