Character wont stop playing animations,stops moving

So i’ve been having problems with my physics script acceleration in general so how do i make the character accelerate and slow down and have animations stop playing so dose any one have any clue what i’m doing wrong ?

https://playcanvas.com/editor/scene/1242325

Hi @Drayden_Little! On a quick look, I noticed some mistakes in your physics.js script that could cause the script to malfunction. Try to solve these first and then see if the result has improved. If not, you have to find out why the script doesn’t execute the line that set your idle animation.

image

image

Try Looking at It now

I see your project is gone?

Oh thats becuse i messed it up big time so i deleted it here https://playcanvas.com/editor/project/841294