Are you trying to figure out the direction so yourself can use it for debug or other things. Or are you trying to figure out the direction for the player to show them what direction they are going.
For both you can use a compass code (think there is one on the AU). First just choose a direction that will be north and then you create your graphics. Then you create a view that sits at a position on the screen.
Then add code to the compass entity, or an entity inside the compass view that when the main player rotates, the compass rotates simulataneously. Therefore north/south etc will always be changing depending upon where the player is.
Last edited by DJBMASTER; 06/17/08 06:48.