i have a torrent that fires bullets but when its fires the bullet goes to the side of the torrent. here is the code i used.
Normal is the name of the bullet the torrent fires. rotation is a static instance variable of the Normal class
public void fire() { if(reloadDelayCount >= gunReloadTime) { getWorld().addObject(new Normal(), getX(), getY()); Normal.rotation = getRotation(); } }