Ok, well I have to post again becuse another problem has occured (related to the aim). When the character turns the arm and aim always stays in the same position, which is a bit weird and problematic for the player. You would`t happen to know some math that would put the aim in the same position but in the opposit direction?
/ \ <---character aiming up in the sky in the right diretion
/ \ <---When left arrowkey is pressed I want the player to turn around (like a mirror image).
I`ve not come up with a way to do this yet so I post here and see if anyone can come up with a solution before I do, It would be appriciated.
And another question. Is there a way to make the aim function quicker, as it is now the aim is really slow which is not so great for a fast paced shoooter. maybe it`s possible to make it jump more pixels but that would mean that the aim would be less accurate.