Announcement

Collapse
No announcement yet.

rotate weapon by mouse

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rotate weapon by mouse

    Hello, guys.
    I need youtr help, please.
    I have a tower, and a gun on the tower.
    How can i rotate the gun by mouse.
    I`m trying to make it by mouse position, then by convert mouse location ......by always the gun rotating crazy, i want to limit its rotation angle (from -90 to 90) and how to adjust rotation speed (now its rotates too fast).
    Attached Files
Working...
X