Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Rotations in C#

Options
  • 16-12-2008 4:53pm
    #1
    Registered Users Posts: 8,438 ✭✭✭


    I know i should know this but i've spent ages looking at stuff online and it's just not clicking with me. Would anyone mind explaining how i can get a ship to fly around a screen with the ability to change the direction at any time? I know i need a directional vector and a velocity but for some reason i'm hitting a wall after that. I don't need code, just how to do it is fine :D

    Thanks
    Red


Comments

  • Closed Accounts Posts: 815 ✭✭✭KStaford


    If you are using GDI+ to draw the objects, there is another class (I think its Drawing.2D) that provides a Matrix object. The two work beautifully together to rotate objects.


Advertisement