PDA

View Full Version : Detecting a Movieclip's Rotation



pyroki
June 3rd, 2007, 11:11 PM
Hi I haven't been here for a while but recently started trying to make a new game which requires to find out how much a player rotated and then display what they did in a text box. An example would be if the player rotated forward all the way around the textbox would say "Front Flip". I have been reading about trigonometry and such in flash, but still don't know how to code this. The best example of a game that does this is Extreme Heli Boarding where if you do a trick it says how many degrees you rotated. Thanks for the help.

Slackore
June 9th, 2007, 02:19 AM
Hey, this helped me out
http://www.kongregate.com/forums/4/topics/520

pyroki
June 9th, 2007, 06:53 PM
thnx slackore, but now what about finding out how much the player rotated. I can trace what the angle the movieclip is at, but i need to know how many degrees the player rotated .