- Home /
Character Controller Slope
Hi,
I have read through forums and unity answers to find the answer, but I still an having trouble.
I cannot figure out why my animated sprite hops down slopes. I though this problem was fixed in unity3.
I move the character with a lerp ( moveSpeed = Lerp ( moveSpeed, walkSpeed, speedSmoothing ) and use collisionflags & CollisionFlags.below to check for collision with the ground.
Does anyone have any suggestions as to why the character hops down slops and is there a way to fix and/or try and debug the problem?
Thanks!
Answer by Eric5h5 · Mar 27, 2012 at 03:37 AM
Use the CharacterMotor script.
Thanks, I'll try it out ( accidently added this to "Your Answer..."
Can you provide a link please? I'm working on a 2D platformer with slopes and he has a lot of trouble going up slopes.
There isn't a link; it's the CharacterMotor script from the standard character controller package.