Add Cannon.js Physics /Making Solid to Mixamo Model

Here is an unfinished example I was working on before I got busy on other things.

I converted the mixamo model to gltf,
and then when I load it,
I traverse it searching for an object called LeftFoot
and then attach a cannon sphere to it.

Demo : (Double click on the cubes)
https://sbcode.net/extra_html/physics-with-animation-mixer.html

Source Code :
https://sbcode.net/view_source/physics-with-animation-mixer.html

three r125

2 Likes