Rotation Formula
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | 0 Comments
Good formula for random rotation of object without going to far to either side: box_mc.rotation = (Math.random()*2-1) * 180/Math.PI;
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | 0 Comments
Good formula for random rotation of object without going to far to either side: box_mc.rotation = (Math.random()*2-1) * 180/Math.PI;