Closed sdiaz7 closed 7 years ago
The logic is mostly done, I am currently testing it before opening the pull request.
I've splitted the integration of the damaged tower models into a new issue, #250. This is going to allow me to close this issue even if I do not currently have the models (as commented on the description) and keep the work flowing.
Pull request opened at #251.
Define some damage thresholds, and change the tower's appearance once such thresholds have been reached. The point is to make damage suffered more visual.
Implementation details: I am going to define some damage thresholds for the tower at HomeBehavior. Once a theshold is being reached, the script will change the tower's appearance. For doing that, I am going to try to swap its mesh. Since I do not have access to the damaged tower's models yet, I will keep the number of models and the meshes as public variables, accessible through the Inspector. This will let me and others to test the logic without having the models. I expect to have access to the models before integrating.
Definition of Done:
Time estimation: 2 hours.
Branch: dev_Issue172
Pull request: #251