This code might be useful for getting an object to launch from another object, like a simple projectile.