Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Fixing Rotation using Empty Game Object

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

  1. pseudonym

    pseudonym

    Joined:
    Apr 23, 2006
    Posts:
    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

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

    Attached Files:

  3. pseudonym

    pseudonym

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

    Thanks!