unity transform rotation not correct code example Example: unity transform..rotation not correct playerModel.transform.localRotation.eulerAngles.x