This code looks fine to me. There must be something wrong with the rest of your code!

EDIT: The pointers are correct? Make sure you do not reset the angle somewhere else.

Last edited by Superku; 06/25/10 14:15.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends