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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Rotations in C#

  • 16-12-2008 3:53pm
    #1
    Registered Users, Registered Users 2 Posts: 8,493 ✭✭✭


    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