• Advertisement

Archived

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

Smooth camera movement regardless of FPS

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

  • Advertisement