I'm writing a script for a homing fireball. Pro tip: always normalize your direction vectors before multiplying by the speed variable. If you don't, the fireball will accelerate exponentially as it gets further from the origin!
I'm writing a script for a homing fireball. Pro tip: always normalize your direction vectors before multiplying by the speed variable. If you don't, the fireball will accelerate exponentially as it gets further from the origin!
The built-in library is surprisingly robust. It handles most of the heavy lifting for you. Just watch out for floating point errors on long-range projectiles.
The built-in library is surprisingly robust. It handles most of the heavy lifting for you. Just watch out for floating point errors on long-range projectiles.