Author Topic: Circular UIDrag  (Read 2064 times)

Grand_A

  • Guest
Circular UIDrag
« on: October 15, 2012, 04:38:17 AM »
Hi Aren,

I've been using a lot of your UIDrag scripts. It looks cool but I need additional feature, which is the circular looping.
So after the most left one dissapears from the screen, it can show up again at the most right, looping the objects in circular way.
Can you help me to do that?

Thank you for the help.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Circular UIDrag
« Reply #1 on: October 15, 2012, 06:03:59 AM »
You need to write your own logic for repositioning objects then. If localposition.x < -#, localposition.x = #, or something similar.