anedumgottil / VR-Mazmorra

Procedurally generated VR Dungeon
Apache License 2.0
1 stars 0 forks source link

TrackedProjectile.cs is sloppy, needs to be cleaned up and made into a functional class #39

Open apodgo2 opened 6 years ago

apodgo2 commented 6 years ago

TrackedProjectile was pulled out of some example code, and therefore has a bunch of useless attributes and such that we aren't using or don't make sense in our current context. They should be repurposed into a type of Projectile that adjusts it's movement vector slightly to magnetize itself towards the target, as if the projectile was 'tracking' it's target.

I'm not exactly sure what this code was from or what it was supposed to do, but it's written kinda poorly and has some variable compiler warnings I've commented out. So it could use a lot of cleaning up and removal of unnecessary functions and attributes and such.

Not a super important task right now, but if anyone wants to tackle it, I would not complain.