Jump to content
  • Advertisement
  • entries
  • comments
  • views

First screenshot of new project, mouse look

Sign in to follow this  


You can now look around the cockpit using the mouse.

In order to get the mouse's relative movement, I used raw input. After I have the relative movement vector, I multiply it by the mouse sensitivity and multiply that by the rotation speed. This gives the final angular velocity vector which I use to integrate the orientation.

Here is a screenshot of what the game looks like so far. I plan on removing the "blast shield" tomorrow and put in a star filled background. Before I can make it so you can fly around, I need to make it so that you can tell you are moving!

Reposted from http://invisiblegdev.blogspot.com/
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!