Hello, i have an error loading an animation ‘Trying to play animation ‘walk-bhand.json’ which doesn’t exist’ Is it maybe coz i have changed the name of animation?
The call to
entity.animation.play() takes the name of the animation asset as the first argument. So if you’ve changed the name of the asset. You’ll need to update your code.
done that, beforehand but not working with that error
Hello, found the error, i had a model inside the player entity and i disabled it and create another model entity, i didn’t deleted the disabled model nor moved outside player entity, so the script called the functions for the disabled model and not for the enabled one, moving the disabled one out of the player entity solved the problem. Is there a way to select the enabled model entity inside the script?