1. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
  2. Enter the Google Play Indie Games Contest in Europe. Read more about it here.
  3. Unity 5.5 is now released.
  4. Become a closed-alpha partner on the new Facebook games platform. Read more about it here.
  5. Get early access to our Google Daydream Technical preview. Click here for more details!

Fixing Rotation using Empty Game Object

Discussion in 'Editor & General Support' started by pseudonym, May 28, 2009.

  1. pseudonym

    pseudonym

    Joined:
    Apr 23, 2006
    Messages:
    145
    Hey all,

    I'm trying to rotate an object using the empty game object method, but it's not working as no matter how I position the empty parent object, it rotates based on the size and shape of the child, rather than from it's own rotation point.

    I've uploaded a sample project that illustrates what I'm trying to do - rotate an incomplete circle as if it were a complete circle:

    http://www.futurlab.co.uk/RotationTest.zip

    Can someone help me fix this so that the incomplete circle rotates around a center point as if it were a completed circle?

    Thanks!

    James
     
  2. antenna tree

    antenna tree

    Moderator

    Joined:
    Oct 30, 2005
    Messages:
    5,325
    Do you have your Pivot Point set to "Center"? Change it to "Pivot"
     

    Attached Files:

  3. pseudonym

    pseudonym

    Joined:
    Apr 23, 2006
    Messages:
    145
    Well, that was easy :)

    Thanks!