Pivot point of GLTF - Codepen example waiting

Hi guys,

Love Three.js but stuck!

I’d like to have a 3d model pivoting from the floor. With the pivot point on the very floor, like a trapdoor.

THe closest i can get is https://codepen.io/johneemac/pen/rNwqqKv

It’s not far away, but ideally i dont want to use position, just rotation.

If it’s an external model, you can modify the pivot point in Blender - all you’d need to do is position the geometry / parented object properly around the orange dot:


That’s it! Easy when you know how.

Many thanks, appreciate it.