camera-stuff
ok, im trying to make my own camera class. i have my m_view.z set to 0, and my m_position.z is at 5.0.
now, when i move my camera forward so it goes m_position.z goes negative, the camera turns around and faces the other direction...
heh..i know, that explanation sucks but i hope u understand..
help plz
I assume m_view and m_position are members of your camera class? How are you setting your camera transformation matrix? Show a small bit of code (preferably < 20 lines), and perhaps we can help.
Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement