Fly view using 3D Tools

Topics: Developer Forum, Project Management Forum, User Forum
Aug 25, 2008 at 1:14 PM
I would like to achieve the same functionality as most of the FPS games offer (like Wolfenstein, Unreal, Quake or Doom). This is exactly what I mean:

  • Pressing key 'W' means you are moving forward (in your look direction, which can change due to rotations)
  • Pressing key 'S' means you are moving back (opposite to your look direction, which can change due to rotations)
  • Pressing key 'D' means you are moving to the right direction
  • Pressing key 'A' means you are moving to the leftdirection
  • Moving your mouse verticaly will rotate your view in one axis
  • Moving your mouse verticaly will rotate your view in other axis\

Could you please help me in achieving this? I have already tried with Trackball.cs but I couldn`t get the expected result.

Thank you in advance