Search Unity

How to align move tool to an object?

Discussion in 'Editor & General Support' started by iflowers, Mar 24, 2011.

  1. iflowers

    iflowers

    Joined:
    Apr 7, 2009
    Posts:
    6
    Hi all. I have build two doors, but they are not parallel to X or Y, they are actually at 45 degree angle. I need to build an animation in Unity where the doors close and open, but I am not sure how to move them at 45 degree just by using move tool. Is there a way to align the move tool to the object - like in Maya? Thank you.
     
  2. iflowers

    iflowers

    Joined:
    Apr 7, 2009
    Posts:
    6
    Is there no solution?
     
  3. 2dfxman1

    2dfxman1

    Joined:
    Oct 6, 2010
    Posts:
    1,065
    Yes, make an empty gameobject and then make door child of it. Don't forget to first position it.
    I don't know if that can be animated though
     
  4. niosop2

    niosop2

    Joined:
    Jul 23, 2009
    Posts:
    1,059
    Also try changing from global to local. There's a button along the top. That's assuming that your object wasn't actually modeled at 45 degrees.