Player Rotation

Ok, so I am having a little problem here with my rotation of my character…

Here’s the script…

Not Working Movement Script

Now the problem is here lines 43-48 or

if(Movement.mMoveDirection !=
     Quaternion Rotation = transform.rotation;
     transform.rotation = Rotation;

When this is in my script my character is all weird

alt text

When I comment it out my character is fine but he wont adjust his rotation to the Movement Direction… What am I doing wrong???

alt text

I changed my method of movement so this is no longer needed! Thanks though to anyone that was going to help or did help! :smiley: