Author Topic: Drag panel and clamps on two positions  (Read 3493 times)

Darkmax

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 93
    • View Profile
Drag panel and clamps on two positions
« on: November 09, 2012, 06:28:20 AM »
Hi want to implement a draggable panel that clamps on two positions for example on iPhone like the notifications panel, one can drag the panel from above drag it down and it will move to the bottom side of the phone no matter if you untouched the panel at any time, also the position that will determine on which be clamped will be determined by the direction of the momentum.

So just want know if there something like this already implemented on ngui?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Drag panel and clamps on two positions
« Reply #1 on: November 09, 2012, 05:33:32 PM »
Have you seen the clipped panel example that comes with NGUI and tried to play with it with that checkbox checked?

Darkmax

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 93
    • View Profile
Re: Drag panel and clamps on two positions
« Reply #2 on: November 10, 2012, 12:58:45 AM »
ok i will check it