How to make manually running and stopping after 5 sec when it started ran animation?

I am a newbie in three.js.I just want to do a simple project, which it(animated object) comes middle of the screen by running, when he comes to middle it stops. Can you offer me any tutorial ? I can not find any think and i am almost done!

For example i want this - https://threejs.org/examples/#webgl_animation_skinning_blending - guy walking away from my screen and stops into middle of screen

I think the example you have posted is a good starting point for your own project. You should first try it yourself and then post your current progress as a live example.

The posted example shows basically everything you need. I suggest you read the following guide for more information about the animation system of three.js.

https://threejs.org/docs/index.html#manual/en/introduction/Animation-system

1 Like