Added xDir and yDir for serverControlled players