Closed joshheinrichs closed 8 years ago
Implemented this. Turrets can rotate, and fire straight, or they can opt to not rotate, instead placing the projectile on the path to hit the player. Still need to implement heat seeking projectile.
oh yes, this was the branch it was implemented in https://github.com/joshheinrichs/cmpt306-project/commit/0e97b702b0774140b71be06eed63d6171cd7e6c2
The turret should shoot a Fireball at the player. The Fireball should expire after some period of time, or on collision. You shouldn't edit the Fireball prefab to make it expire, since it's being used for other prefabs such as the OrbitBar. You could try attaching some sort of expiry and collision destroy scripts when you instantiate it or something.