Help, my camera is not moving correctly!

Started by
11 comments, last by LancerSolurus 10 years, 9 months ago

Changing the translation of the view matrix should do everything just fine for you. Seems to me like you were changing the inverse camera's translation.

Advertisement

You can have Camera Position and Direction vectors. If you press your forward key, then the new camera position would be "(Position+Direction)*ElapsedTime". The direction should be normalized.

You can use delta mouse to rotate direction vector.

Since you haven't posted any code as to how you are deriving you camera view, everyone here is just guessing as to what your problem is. Post your code so we can see what your problem is.

******************************************************************************************
Youtube Channel

This topic is closed to new replies.

Advertisement