Collision Detection


Rotated box collision detection

Triangle collision detection based off above. This is used for each larva's cone of vision.






Larvae with boundary boxes


Larvae seeking weaker prey