This is code for the shooting subsystem.