Jump to content
  • Advertisement
Sign in to follow this  
Anddos

DirectX camera problem

This topic is 3658 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 have loaded a mesh and when i press W key the mesh moves forward on the z axis which means that value goes down on the z axis , but say if the camera postion z is set at 3.0f; , i can see the mesh fine so when i want the camera to follow the mesh , when the camera gets to 0.0 it changes and the view changes so i am looking from the front of the mesh , i want it so the camera keeps moving back on z axis with the mesh like you see in third person games , thanks if you can help

Share this post


Link to post
Share on other sites
Advertisement
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!