Jump to content
  • Advertisement


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


Smooth camera movement regardless of FPS

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

How can I move my camera in a way that no matter what the frames per second (within reason obviously) the camera will retain a smooth motion? if(SUCCEEDED(XInput->IsKeyDown(DIK_A))) XView->MoveCamera(D3DXVECTOR3(1.5f,0.0f,0.0f)); this is the code which makes my cam move to the left, the 1.5f is the increment in which it moves. I need to find a way to make it move with the frames per second or something to that effect, I really dont know what to do lol

Share this post

Link to post
Share on other sites

  • 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!