Skip to main content
gamedev.net
🔒 Locked

FPS camera

Started by shakazed Jan 22, 2003 at 1:15 PM 2 replies 250+ views
Original Post
shakazed
shakazed
Well I know this question has been asked about 23432 million times but since I can´t do a search on the forum I have to ask again. I need help to make a FPS camera in DX9. Also some Code would be appreciated. Thx in advance! [edit] Oh yeah I´m pretty stupid so plz explain in english
Bad Monkey Productions [edited by - shakazed on January 22, 2003 2:18:06 PM]
Cornutopia
Cornutopia
Use the view transform. This places the camera.

Try the Microsoft newsgroups for DirectX if you''re really stuck.
ktuluorion
ktuluorion
quote:
Original post by shakazed
Well I know this question has been asked about 23432 million times but since I can´t do a search on the forum I have to ask again. I need help to make a FPS camera in DX9. Also some Code would be appreciated. Thx in advance!

[edit]
Oh yeah I´m pretty stupid so plz explain in english




Bad Monkey Productions

[edited by - shakazed on January 22, 2003 2:18:06 PM]




I think what you are looking for is what equations you need to place the direction that you are looking at.

And what you need to use are trig functions: sin(rad(rotation)) for the depth (z) and cos(rad(rotation)) for the x.

then, just multiply that stuff by a number to get the look-at point.

[Piebert Entertainment] [Ask The All-Knowing Oracle A Question]------------------------------------------------------------GDSFUBY GameDev Society For UnBanning YodaTheCodaIf you want to see yoda unbanned then put this in your sig ------------------------------------------------------------DAIAGA Dave Astle is a God Association. To join, put this in your sig!Founder and High Priest o

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.