Hi there,

Using a simlpe object vs vectors collision as is described in Tony's tutorial; how would I apply the folowing?


The left image represents the first frame and the second image the folowing. The object falls down and by using a simple for-loop it finds a 'hittest' vs vector 'A' and thus moves the object to direction 'D'. It is obvious, however, that the object should head in direction 'C', since we also have vector 'B' that should be taken care of.

If this made sence to you; can you tell me how could I solve this problem? Assuming I have an array of multiple vectors that the object will hit, how will I find out which one will have priority?

Kind regards,
~Sph