please help.object rotation problem
hi i've been at it for 6-7 hours now just couldn't' figure out how to do this. i want an actor to rotate 45 degrees counter clock wise and then 315 degreets clock wise.I'm so very confused.. but all in all i just want an actor to rotate 45 degree counter clockwise and then 90 degrees back clock wise.. and the way rotate and rotates to calculate it's angle is very confusing, there's no negative degree to turn... it's either degree controlled which is 0-360 or clockwise and counterclockwise with no degree control.. hope someone can understand my question.
i was able to achieve it to rotate once left and once right... but not repeat itself... am i overseeing the obvious please help.
left right left right left right left right... continues
i was able to achieve it to rotate once left and once right... but not repeat itself... am i overseeing the obvious please help.
left right left right left right left right... continues
Comments
If rotVar > 0:
clockwise rotVar
Else
Counterclockwise abs(rotVar)