Page 1 of 1
Line following
Posted: Fri Jul 30, 2021 7:39 am
by darkfrei
Hi all!
I want to make a program with moving agent, that can follow the drawn line.
Here is the first version, you can just draw (vector) lines.
Re: Line following
Posted: Fri Jul 30, 2021 3:02 pm
by darkfrei
Second version:
every drawn line has an agent, that follows that line and disappears on the end of it.
Re: Line following
Posted: Sun Aug 01, 2021 8:44 pm
by darkfrei
Third version: lines are smooth and line crossings are shown.
Re: Line following
Posted: Sun Aug 01, 2021 9:35 pm
by Gunroar:Cannon()
Things are getting heated! Nice! These agents don't have to only be used by line drawing, do they? They can be used for any other thing with paths, they use steering behaviour right?
Re: Line following
Posted: Sun Aug 01, 2021 10:23 pm
by darkfrei
Gunroar:Cannon() wrote: ↑Sun Aug 01, 2021 9:35 pm
Things are getting heated! Nice! These agents don't have to only be used by line drawing, do they? They can be used for any other thing with paths, they use steering behaviour right?
Yes, for example the path, that can be used by mobs. But it hasn't the backward direction right now. Just creating at the line's begin and teleports from the end to the start again.
Also one line can have multiple agents.