Hi Julias,
Any unit can use its 'movement phase' to stay within its current hex, change its current formation and/or direction of facing. This is still 'movement' but within the same hex.
Shooters, small arms and artillery, can change direction of facing within a hex in their own sides movement phase, and also during their opponents movement phase in response to any enemy unit which moves into shooting range.