Author Topic: Draggable Panel and Pivot Request  (Read 5501 times)

kaz2057

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
    • View Profile
Draggable Panel and Pivot Request
« on: June 13, 2013, 07:52:36 AM »
Dear Aren,

I ask you if it is possibile implement Pivot Component on Draggable Panel.

This is userfull because I use draggable Panel on bottom left corner until right bottom corner. During the "pixel screen scale" (on changing resolution) draggable panel is scaled by center pivot and it is an error because my panel start on left corner.

This pivot also need to affect also assigned box collider.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #1 on: June 13, 2013, 02:16:09 PM »
While I will likely be changing the way panel clipping is specified and works in the near future, adding a pivot point is not what I'll be doing.

kaz2057

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #2 on: June 14, 2013, 02:32:14 AM »
At this time there is any solution?
« Last Edit: June 14, 2013, 04:12:33 AM by kaz2057 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #3 on: June 14, 2013, 05:23:03 PM »
Yeah, position your panel so that it's under a bottom anchor instead of bottom left. You said it yourself it stretches from left to right. There is no point in having it be bottom-left anchored.

yamazakida

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #4 on: July 22, 2013, 07:38:13 AM »
I have the same problem.

kaz2057

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #5 on: September 21, 2013, 05:24:11 PM »
Any news in 3.0 about draggable panel pivot?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Draggable Panel and Pivot Request
« Reply #6 on: September 21, 2013, 09:23:46 PM »
I haven't done anything in 3.0 related to that. And 3.0 is out already.