3D model help newbie


Im still new to three.js and am trying go work with this for a school project I would like to use a 3d model robot ln my website that interacts with a user when something on the page is clicked. It would talk with a text to speech software. Im just not sure where to find learning resources that would help me get the robot onto the webpage and then animate some movement. I figured I could do this with three.js but im only assuming because of the loaders.

Id like to get his arms moving when he talks or have him walk across the screen nothing to fancy. Again this js working with a normal website. He is kind of a mascot leading people around our site. Any suggestions?

I suggest you create your model first in a DCC tool like Blender. This is also the place where you author the various animations of your mascot. You can then export to glTF, import the asset with GLTFLoader and then trigger the animations in your application.

A simple example that imports an animated glTF model and starts an animation is:


You can also use the three.js editor or glTF viewer to verify whether your asset is imported correctly or not.

These examples from the Collection of examples from discourse.threejs.org might be helpful.

https://hofk.de/main/discourse.threejs/2018/Xindex2018.html example 2020-08-0521.28.32

1 Like