Author Topic: NGUI slider jumping to wrong value..  (Read 2202 times)

r6834

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
    • View Profile
NGUI slider jumping to wrong value..
« on: September 04, 2014, 06:47:04 PM »
So I am trying to place an NGUI slider under a panel in 3d space. It works for the most part, but if I disable the the collider on the background object, the slider gets crazy. It jumps from 0 to 1 when I click on it instead of letting me drag it smoothly. It seems I can do this in 2d space just fine, but when I make the slider a child of my 3d panel is when it starts snapping to full on the first click. I have been at this for hours now, has anyone else experienced this sort of thing?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI slider jumping to wrong value..
« Reply #1 on: September 05, 2014, 09:41:54 AM »
Why would you put a collider on a panel? Panel is like a renderer. It has no size.

You should attach it to a widget instead -- ALT SHIFT W, ALT SHIFT C.