Author Topic: Why I can't move UIPanel?  (Read 3408 times)

kobilica

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 16
    • View Profile
Why I can't move UIPanel?
« on: August 20, 2014, 05:07:26 AM »
Hello, I want to make 3D GUI and wish to move UIPanel .. problem is this -> even if I move it in Transform, it always stays in same position (gizmo lines don't move)?

I want to make GUI similar to https://www.youtube.com/watch?v=PPGsGYahjd0 where camera goes from UI to UI (panel to panel). But it is annoying editing UI if I can't move panel (I can't see where I can put buttons / where the limits are + editing anchor is very annoying)

Any ideas?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Why I can't move UIPanel?
« Reply #1 on: August 20, 2014, 04:14:20 PM »
I'm guessing you're referring to the fact that when you use the move tool it wants you to move the panel along the 2D plane? I can disable that for 3D UIs in the next update. You can also disable it yourself via NGUI menu -> Options -> Handles -> Turn off

kobilica

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 16
    • View Profile
Re: Why I can't move UIPanel?
« Reply #2 on: August 21, 2014, 04:09:00 AM »
Yes! You have guessed it half right :).

Thanks! I have the gizmo for moving working now, it works cool.. with one problem. When I set the anchoring on widget, it only moves in Z direction with parent and acts like 2D sprite.. it stays frozen in X or Y axis (does not correspond to the parent/uiPanel movement).  ???

About your offer for update:
No need to disable it default for 3D UI, I will survive  :-*

kobilica

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 16
    • View Profile
Re: Why I can't move UIPanel?
« Reply #3 on: August 21, 2014, 05:49:28 AM »
Well old UIAnchor works nicely I mean it obeys the 3D transformations, I think I will use that :)