1. 3D Radar
I am thinking of using this system to warn player about incoming missiles or item/location of interest, but that is for another day in the coming future.
![]() |
| Target Selected |
![]() |
| The radar will point to the target when it is not in view |
2. Dynamic Target Addition and Marking
I am now able to add new target in run-time dynamically.
![]() |
In AddTarget(), new target (which currently are of type Transform, this be will change soon) is added to the list in the targeting system; then a new marker is instantiated and attached to the target.
To test the dynamic target addition and marking mentioned above, I have write a simple spawning script to spawn gameObject in the scene, the spawning mechanism then call AddTarget() using the new gameObject as parameter. As a result, the targeting system will recognize the spawned object as a active target and a new marker will be attached to it.
This spawning mechanism is so simple and effective, I think I will be using it in spawning enemies.
![]() |
| There are no active targets in scene. |
![]() |
| Spawned targets are all marked properly. |





No comments:
Post a Comment