Cannot read property 'createStaticConvexHull' of undefined?

can i see what you’ve been trying to achieve?

Yeah it’s fine, you can also use the regular ammo.js

@waverider404: i mean can i use regular ammo in place of ammo.small_1.js? everytime i removed that file, and then use regular ammo, it gives me error.

yeah if you would have to use the regular ammo.js, you will need to load it asynchrously like you did earlier. In that case also, you will also need to load AmmoUtils.js asynchrously.
done, a fully third person controller prototype! You owe me coffee :wink:
https://silver-wormhole.glitch.me/

@waverider404: WHAT?! This is AMAZING! Thank you SO much!!! I can’t thank you ENOUGH! :sunny: I was testing it just now & I got to the top-right corner container models, and i can go through it. If you go to diagonal container model, the character go slightly through wall. Here are screenshots:



Fixed! The rotation was off

Just in case you need to rotate your crate, rotate the geometry instead

You cannot have diagonal container model?

fixed now:
https://silver-wormhole.glitch.me/

@waverider404: WOW! This is EXCELLENT! I was NOT expecting this! You are SO kind & I appreciate it SO much! Thank You!

I noticed one small issue with gravity. When you move character towards diagonal container model, sometimes the player starts to ‘climb’ the container model on the Y-Axis, then shoots straight across the top of diagonal container on the Z-Axis straight forward.

I will try & get demo in different 3rd person view in order to see the glitch better.

Here is screenshot:

Here is better screenshot:

hmm that’s weird, there’s no jumping on my side. try messing with the gravity and mass a little bit

So @waverider404: I tried changing the gravity value & it’s still letting the player slowly slide up container model on Z-axis while holding the up arrow.

Where is mass defined for container models?