Live progress #8 – unit picking

Since NextGame moved to 3D all unit picking routines became outdated. So today I have implemented a new unit picking algorithm. It works by checking an intersection between ray cast from players view and units bounding boxes. Of course a screenshot can not show the selection at work, but it is there and works well. Bounding boxes can be seen here:

2014-04-09 bounding box units hittest

Other minor changes include units stats are now being stored in XML and overall cleanup around the code.

This entry was posted in Live progress. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.