Aug 26, 2012

Updates: Missile & Raycast

Missile System
I have code in the limiter for the missile system. Now the missile system have limited amount of ammunition, and it has a reload time for each missile slot.
Bottom right is the missile display
I also use a texture and text to display how many missile I have and the status of the missile slot.

Raycast
I have built another function into my RayCheck class to check whether an object is in view and not behind any cover.

The Cube 'sees' the Sphere

The Cube does not 'sees' the Sphere.

No comments:

Post a Comment