- Home /
This question was
closed Sep 27, 2018 at 11:34 AM by
Qek for the following reason:
Question is off-topic or not relevant
Lerping in 2D
Hi,
I've been trying to create a program to allow my character to lerp between 3 lanes but seem to be getting nowhere.
Has anyone created a programme that is able to do this?
Thanks
Comment
What have you tried? You can do this pretty easily just by keeping 3 offsets (-1, 0, +1) and just having current position approach your target offset. Let button presses deter$$anonymous$$e which one is the target.
Hi @Qek - UA isn't really a get free code service. What and how you ask makes it sound like you didn't do much research if at all. For example, if you just google for "unity move between lanes" you'll get several examples, which will get you started.