PDA

Click to See Complete Forum and Search --> : Walking forward in Direct3d?


flufke
Oct 20th, 2001, 06:52 AM
I'm trying to make a 3d-Game with DirectX. I know how I can rotate my viewpoint in Direct3d (truh calculating directX). How can I let directx calculate that my viewpoint walks forward or do someone have good examples of 3d games in direct3d.
(sorrrrrryyyyyyyyyy for my really bad English, I hope you understand the message!)

Zaei
Oct 20th, 2001, 10:44 AM
Just Move the camera. I assume that you are using D3DXMatrixLookAtLH() to define your camera. Just change the values in the vEye parameter to where you want your camera to be.

Z.