|
-
Oct 28th, 2002, 08:43 AM
#1
Thread Starter
Fanatic Member
How to move in 3d world
Hi,
I am able to move my camera up and down.. by using...
D3DXMatrixLookAtLH matView, CameraP, CameraTo, MakeVector(0, 1, 0)
D3DDevice.SetTransform D3DTS_VIEW, matView
How do I move my camera towards the object...??..
I know by changing the cameraP and cameraTo would do it..
But I am finding hard to calculate the new position of the camera.. can anybody help me out..
Thanks,
Pradeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|