Flocking or Swarm Algorithms

BlitzMax Forums/BlitzMax Programming/Flocking or Swarm Algorithms

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It detects intersections between all shapes in the Collision system. in this case
2 polygos
2 circles
2 lines

Unfortunatly currently there is only the last collided object in the list but this will be changed.

eg: in the app this is displayed:

NR 1 PolyGon collided with 5 : Line this means
the shape number 1 which is a polygon is collided with shape number 5, which is a line.

As said above, this is not correct everytime, because only the latest collision shape is saved within the object.

Oh, Sorry. Just realised that this was the wrong link. Corrected now.