fixed bullet direction and speed calculation