Author Topic: Moving the UI camera  (Read 1867 times)

AntLewis

  • Guest
Moving the UI camera
« on: September 19, 2013, 07:23:36 AM »
Hey guys, I'm interested in moving my camera along a path in my front end. Is it advisable to move the entire UI Root (the root of the UI)  via a tween? If so, any particular hierarchy/structure I should use?

Thanks in advance.

OnlineCop

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 51
    • View Profile
Re: Moving the UI camera
« Reply #1 on: September 19, 2013, 08:18:19 AM »
Are you using the same camera to display your HUD (menus, buttons, etc.) as your other stuff, or do you have your HUD drawn over the top of a second camera?

Typically, I've moved my world camera and then have my UICamera with my 2D GUI elements drawn on top of them. That way, nothing from the 3D camera "clips" my 2D stuff. But your setup may be different.

AntLewis

  • Guest
Re: Moving the UI camera
« Reply #2 on: September 19, 2013, 08:23:03 AM »
Hey thanks for the response. Yes this camera displays my front end button/interface.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Moving the UI camera
« Reply #3 on: September 19, 2013, 04:08:43 PM »
The "moving" camera should be your game camera, which is different from your UI camera.