A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Complex Rotating Turret (AS2)

Threaded View

  1. #1
    Junior Member
    Join Date
    Sep 2002
    Posts
    17

    Arrow Complex Rotating Turret (AS2)

    I'm trying to make a turret that points towards the cursor, but lags when the cursor is moved. I can get this to work, however I am running into problems when the cursor crosses from quadrant 4 to 3 (and vice versa). The problem is that the function I am using to control the turret's rotation rotates the turret around the opposite direction almost 360 degrees to get to the new position, instead of moving the few degrees it needs to. Here is a picture to help explain.
    Last edited by FViral; 06-12-2010 at 04:31 PM. Reason: im a dork

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center