Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    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,325
    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!