1. Submit bugs to enter our 5.4 Beta Sweepstakes. Read more about it here.
  2. Unity 5.4 public beta is now available for all users. Grab the build and visit the 5.4 beta forum.
  3. Missing a module? More about the new installer in 5.3 here.
  4. 4.7.1 released for Xcode 7.3 support. Thread here.

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!