yust do this small steps:

1) rotate the offset by the PLAYER angle.
2) add the player position to the offset.
3) the result of 2) is the neede camera position
4) your camera is now at its perfect position, yust give it the same pan/tilt as the player

Last edited by Rackscha; 01/06/11 20:58.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development