Original Post
ok I've got a central point, a player, who fires bullets. Now... i want those bullets to aim at the player's mouse-click. they do when i give over the mousecoords to the direction vector but the particle/bullet speed depends on how far the mouse is away from the Player/Centre. I guess I need something that calculates a angle from the mousecoords and converts those to a direction vector. but i don't know how to do that :( ideas? I talk about 2d... thanks