$begingroup$

I’m having a problem i can not appear to determine inside my code. What this code does in the intervening time is that it rotates the 3D Model across the z axis however i want it to rotate across the y axis. Any assist can be significantly appreciated.

void Update ()
    {
        Vector3 moveVector = (Vector3.up * joystick.Horizontal + Vector3.left * joystick.Vertical);
        if (joystick.Horizontal != 0 || joystick.Vertical != 0)
        {
            remodel.rotation = Quaternion.LookRotation(Vector3.ahead, moveVector);
        }


    }

$endgroup$

3