playMaker

Author Topic: LERPing continuously  (Read 1287 times)

homeworld

  • Playmaker Newbie
  • *
  • Posts: 39
LERPing continuously
« on: January 02, 2018, 11:42:02 AM »
Hi!

I'm making a game where the stats of npcs are constantly in motion, so i need some way to constantly lerp ints every frame, indefinitely;

From what i can tell, the currently existing actions in playmaker (Int Interpolate, Float Interpolate, Ease Float) all finish when hitting their target, and the actions that run every frame (Float Lerp) require a third animated float to work.

Any tips on how i could achieve this? I need to constantly have them chase after a target int, and standby for further changes when hitting it! Having a FSM for each individual stat would be highly impractical, as the amount of FSMs would get very high, very fast.

Thanks in advance!

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • multiplayer adult fighting
Re: LERPing continuously
« Reply #1 on: January 03, 2018, 10:20:03 PM »
Not sure I understand the question right, but what's wrong with having a one fsm with a bunch of Float lerp's?
indie developer of multiplayer adult fighting
http://nakedfighter3d.com