Rotation using Atan2

Thumbnail
Submitted by lashfcom » In this tutorial, I'm going to show you how to use Atan2 function to programme a tank barrel so that it turns in your mouse's direction. A useful piece of code for Flash applications, espessialy Flash games.
Rating: 2.3/5 | 3,324 clicks | 0 comments | 1 save | share | report

Share this tutorial

There are a number of different ways to share this tutorial with others. Below are the links to many different social networking and social bookmarking sites- just click on your favorite service and most of the work should be done for you. Other methods of sharing tutorials will come in the future.

digg it · save to del.icio.us · share on facebook · reddit · furl · blinklist · ma.gnolia · pixel groovy