Hi Grey Alien! thanks for your reply.
Ehh could you show me the code for this, please :).
I measure the angle between the mouse position and an object with atan2(my-y,mx-x), that's the only way i know it. That gives me an angle between -180 and 180, and every attempt in making an solution ends with an scream.
Too learn an programming language is not so hard, the difficulties is in all the other stuff ;).
Ehh could you show me the code for this, please :).
I measure the angle between the mouse position and an object with atan2(my-y,mx-x), that's the only way i know it. That gives me an angle between -180 and 180, and every attempt in making an solution ends with an scream.
Too learn an programming language is not so hard, the difficulties is in all the other stuff ;).