I need am 2D object to be rotate 90 degrees each time a press down a key. What would be the best to do this. I have try to use TransFormatins of a vector but I can't ge it to work.
I need am 2D object to be rotate 90 degrees each time a press down a key. What would be the best to do this. I have try to use TransFormatins of a vector but I can't ge it to work.
Rotate an object
Graham Hansen
Jouan
Then when they are drawn, you use that current rotation value. You really can't get much better rotation than that.
Is there something in particular you're not understanding Or am I misunderstanding what you are trying to accomplish
dude61
Furby
Ok I see what u are saying and it will work. What I am doing is samething like this. When I Left_click on obj_0 it will rotate -90 or 270 deg and obj_1 and obj_3 will rotate + 90 deg.
pfd