1: Lock a player's mouse axis, so he can't look up nor down.
2: Detect mouse movement, if mouse moved to the left or the right,
and if so, change the players move direction to the corresponding direction.
Basically I want it so that you can't pan around or anything, only move left, right on a straight line. (Think of a sidescroller game).
Right now I'm in a third person side-view. Would also like if it was possible to change aim direction, so instead of shooting at the wall, aim would be locked to either left or right.