Keep in mind it's a cone, not really an arc. If you try to limit something to only rotate 10 degrees one way it will also be limited on the other axis as well.
If it's just a visual clipping thing, as long as you don't mind occasional odd-looking shots, you can just use an if pitch > maxdesiredangle then pitch = maxdesiredangle check to force the animation from turning that far. Just make sure you give the weapon enough tolerance then.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum