Script about run

i dont know how my character runs, please help me,
i have the animation, and the function getspeed, but i cant do it

thanks

Can you please provide more information? What do you mean you don’t know how your character runs? Are you trying to implement your own controller and having trouble? Are you using our existing character controller and trying to make it work?

In general, if you’re getting started then I’d suggest taking a look at and working through the 3D Platform Tutorial we have posted online. It covers this, and many other topics in specific:

3D Platform Game (tutorial)

hi mm
Im trying to use a SupermarioController, and with my script of animation, i want to use the function GETSPEED, to modify the speed and gets my character runs

yes im new, and i already do th 3d… tutorial, but the scripts of this game are very advanced for me, i understand it, but , i want do my owns scripts.

Hi Fernanda, fading between walking and running animations is fairly straitforward and is very well documented in the mentioned tutorial (see ThirdPersonPlayerAnimation.js). If still you can’t get the animation to play properly I would suggest you to post your code in order to help you to find possible bugs. Also, sometimes the problem isn’t in the code but in the component settings, since some 3d modeling app sometimes are tricky to integrate with unity (I personally use blender and I haven’t had any issues so far, but there are many posts acknowledging problems bringing 3d content to unity)
Hope it helps
Juan