Flint Particle System Forum - Particles following waypoints - i need some help Sun, 11 Dec 2011 11:39:47 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Particles following waypoints - i need some help http://flintparticles.org/forum/comments.php?DiscussionID=444&Focus=1507#Comment_1507 http://flintparticles.org/forum/comments.php?DiscussionID=444&Focus=1507#Comment_1507 Thu, 13 Jan 2011 08:35:42 +0000 PitchBlackCat
I am trying to make some particles follow a few waypoints,
The reason i do this is because i want to base the AI of a racegame on flint, so that the racers can collide with eachother and keep a certain distance and maybe even ride around in 'flocks'.

Now, i've already come a great way, but it's not quite done.
I have written a manager that inserts some particles at the start, and makes these particles follow through all the waypoints.
The only problem is that the particles seem to 'bounce of' of these waypoints, whenever they hit a waypoint the SOMETIMES seem to turn 180 degrees around, which is unwanten behaviour..

I've already been trying to fix this for 2 days now to no avail.
Below is a link where you can download my source. The yellow dots are the waypoint following particles, the yellow lines are the waypoints.
http://www.mediafire.com/?p9cd8c7hh3m4bgm

Any help on the subject will be greatly appreciated.
Also, feel free to use these sources in your own projects! ]]>
Particles following waypoints - i need some help http://flintparticles.org/forum/comments.php?DiscussionID=444&Focus=1538#Comment_1538 http://flintparticles.org/forum/comments.php?DiscussionID=444&Focus=1538#Comment_1538 Thu, 03 Feb 2011 14:13:39 +0000 Richard
It looks like your particles are bounding off the bounding box, not the waypoints. If you make the bounding box bigger than the stage then you can contain the particles without the bounce being visible. ]]>