Author Topic: 3D GUI: Anchors don't work for corners  (Read 7746 times)

col000r

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 3
  • Posts: 43
  • Mighty Emperor of Planet "Home Office"
    • View Profile
    • BLACKISH
3D GUI: Anchors don't work for corners
« on: February 26, 2014, 10:19:20 AM »
I'm trying to anchor an element to the top-right of the screen in my 3D GUI. Why doesn't this work? Is this not supposed to work?

Steps to reproduce:
  • Make a new 3D GUI
  • Add a Label
  • Set the Label's pivot to top right
  • Set the Anchors to Unified and set Top and Right to 0 on the Target's Top and Right
  • Notice how the label is out of view, whatever you do
  • Now set Anchor to none and add an Anchor component, set it to TopRight and see how that does work
Games: BLACKISH | Blog | Assets

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3D GUI: Anchors don't work for corners
« Reply #1 on: February 26, 2014, 02:08:30 PM »
The anchors were designed to work in 2D, so it won't work quite right with 3D. It's a limitation.

col000r

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 3
  • Posts: 43
  • Mighty Emperor of Planet "Home Office"
    • View Profile
    • BLACKISH
Re: 3D GUI: Anchors don't work for corners
« Reply #2 on: February 28, 2014, 03:16:14 AM »
Okay, good to know.
Games: BLACKISH | Blog | Assets