Hello. Ask a petition for my english , because I use online translators.
The essence of the problem: can not create an object with a limited angle of rotation of the object on the mobile.
picture for understanding:
How we can improve this expression ?
[code:1ecok5id]clamp(angle(gun.x, gun.y, mousex, mousey), corps.Angle-30, corps.Angle+30)[/code:1ecok5id]
If you want to show the example: http://dl.dropbox.com/u/1086462/rotatio ... imited.cap