Hi guys,
So lets say I have a ship (the player) which is facing north (ie pointing vertically at the top of the screen) in a top down view of the game world, as is the case in space invaders/asteroids etc. This ship in turn is controlled by a wheel. When the wheel is spun the ship turns.
Here is where I make it complicated. Instead of the ship itself turning I want the rest of the world (and its objects) to turn around the ship, so it always continues to face north. The math involved in this is confusing me. I tried inserting world objects into a display group and rotating it the opposite direction which the ship would be turning (if it could turn). This is fine until the physics objects within this display group start moving because the coordinate system rotates along with the whole group.
If someone could offer some help or point me towards a tutorial or something it would be great. I thought I saw a tutorial with a car racing around a track but I cant find it. Although I think the car just turned and the track stayed static. meh.
Any help would be much appreciated!