Author Topic: Adjusting anchor offsets lerps instead of snaps  (Read 9320 times)

MoProductions

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 45
    • View Profile
Adjusting anchor offsets lerps instead of snaps
« on: June 29, 2016, 08:39:46 AM »
When I adjust the anchor offsets on some of our game objects, the object goes to the new position but it doesn't snap there right away, it goes through a lerp situation.  It appears to be a result of not having every anchor set, but in order to get the behavior we want we only use 3 out of 4 anchors.  Is there a way to have an object without all 4 anchors set move to it's new position right away after adjusting the anchor instead of lerping?
Thanks!
-Mo

MoProductions

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 45
    • View Profile
Re: Adjusting anchor offsets lerps instead of snaps
« Reply #1 on: June 29, 2016, 10:57:52 AM »
Actually, I was just experimenting with changes in aspect ratio after I had set up the object with 4 anchors and it was still lerping in between.  I guess I just want to know if there's a way I can get anchor based adjustments to happen without lerping.
Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Adjusting anchor offsets lerps instead of snaps
« Reply #2 on: July 01, 2016, 10:18:47 PM »
There should be no lerping with anchors. Anchors are immediate, unless you have a situation where one anchor relies on another in some kind of a loop.