I have a character that uses the animations from the mecanim tutorial as controls. However, I made a script which reorients the character so they have the ability to walk on walls. However, the root motion for go forward works, but the turning no longer works.
So I have two questions: 1) does the fact that the forward motion works show that it is my ‘wall walkin’ script that is wrong? 2) If so should I use a mix between mecanim and character control scripts? 3)Do root motions transfer when the character is reoriented?
Thanks in advance!
transform.rotation = Quaternion.FromToRotation(initial_vector,surface_normal_vector);