Collision Detection and Evasion Demo
Version Compatibility: Visual Basic 6
This code in this form module shows how to:
- Plot a path from one object or area on a form to another and dynamically change that path when obstacles are encountered and evaded.
- Dynamically store an area or objects coordinates to an array and then determine if an moving object comes in contact with those coordinates(collision detection) and the coding to evade that area to proceed to a predetermined target.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.