Curve BulletsPosted: April 8, 2012
Finally got around to putting in curving bullets. Takes a curve rate, time until curve starts, time until curve ends, and curve direction. Bullet travels normally until the curve time starts, then the direction gets changed by the curve rate, then the bullet continues on a straight path after the curve time ends.
The old way was to specify two vectors, and the bullet would go from one direction to the other, but my math sucks so I can’t seem to iron out all the bugs in it yet. This way was a lot easier to do.