1. Unity 5.6 is now released.
    Dismiss Notice
  2. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  3. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice
  4. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  5. The launcher is currently pulling earlier versions of the content packages which may have errors, see post.
    Dismiss Notice
  6. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  7. Check out all the fixes for 5.5 in patch releases 1 & 2.
    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!