Author Topic: disable collider on dragable window  (Read 5530 times)

tinyutopia

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
disable collider on dragable window
« on: August 03, 2012, 01:49:50 PM »
I'm using a draggable panel window and the grid stretches wider than the draggable clipping area, just as it should. I can still effect the scrolling of the draggable panel when I swipe any of the grid items outside of the clipping area. In other words, I can still scroll the panel with invisible panels!

Is there an easy way to disable panel collisions if they are not inside the clipping area of the draggable panel?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: disable collider on dragable window
« Reply #1 on: August 03, 2012, 04:57:09 PM »
Look at what I did in the scrolling example. I put a big collider covering the sides, which intercepts the touch events.

tinyutopia

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: disable collider on dragable window
« Reply #2 on: August 16, 2012, 04:49:51 PM »
Ah ha! I knew that those were in there for a reason.  :)