Author Topic: Draggable Item barely moving  (Read 2507 times)

likwid

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Draggable Item barely moving
« on: February 15, 2015, 03:40:55 PM »
Hey all,

Followed this tutorial exactly (https://www.youtube.com/watch?v=UK3aMHRfgcw&feature=youtu.be). Added the UIDragDropItem to my sprite. When I press down on my sprite, it indeed "clones" it and removes the "clone" when I release the mouse button, but the sprite BARELY moves when I drag it around. I'm talking a few pixels if I drag my mouse all the way to the edge of the screen. I've tried what this person suggested in his post, but it did not do anything for me (http://www.tasharen.com/forum/index.php?topic=3622.msg17894#msg17894).

Script: UIDragDropItem
Restriction: None
Clone on Drag: true
Interactable: true

Using latest NGUI 3.8.0 that apparently has a draggable item fix in it.
« Last Edit: February 15, 2015, 04:08:06 PM by likwid »

guillopuyol

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 5
    • View Profile
Re: Draggable Item barely moving
« Reply #1 on: February 17, 2015, 06:27:19 PM »
Have you checked if the item is anchored OnUpdate?  I had a similar issue where my anchor was fighting the dragging.